Defining classes

Nick Maclaren nmm1 at cus.cam.ac.uk
Thu Dec 14 04:30:19 EST 2006


In article <1166084504.874234.61380 at 80g2000cwy.googlegroups.com>,
"Michele Simionato" <michele.simionato at gmail.com> writes:
|> Nick Maclaren wrote:
|> > It would be much cleaner not to have to fiddle with static
|> > members after the class is initialised.
|> 
|> You can hide the fiddling, for instance with the trick explained here:
|> 
|> http://www.phyast.pitt.edu/~micheles/python/classinitializer.html

Thanks very much.  I shall definitely read that, to gain more understanding
if nothing else.


Regards,
Nick Maclaren.



More information about the Python-list mailing list