Copy constructors

Erik Max Francis max at alcyone.com
Mon Aug 13 12:23:30 EDT 2001


Ng Pheng Siong wrote:

>     self.state = 1 - self.state
> 
> ;-)

Why not just 

	self.state = not self.state

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, US / 37 20 N 121 53 W / ICQ16063900 / &tSftDotIotE
/  \ I am the essence of overconfidence!
\__/ Capt. Benjamin "Hawkeye" Pierce
    Maths reference / http://www.alcyone.com/max/reference/maths/
 A mathematics reference.



More information about the Python-list mailing list