Why is the self.year twice? I am having trouble to find out the logic of the line. Can some one help me with this?
return (self.year and self.year == date.year or True)
I am going through http://www.openp2p.com/pub/a/python/2004/12/02/tdd_pyunit.html and encountered the line ... And of course I have no problem understanding and, or, nor, xor, xnor, or any boolean expression. But I am confused by the way it has been used here..
:-)
True.