Style question - defining immutable class data members

Tim Wintle tim.wintle at teamrubber.com
Mon Mar 16 05:06:59 CET 2009


On Mon, 2009-03-16 at 04:02 +0000, Tim Wintle wrote:
> On Sun, 2009-03-15 at 10:39 -0700, John Posner wrote:

Doh, reply out of thread there - I meant to reply to Rhodi's comment
further down.
> Is there any actual advantage to self.attribute picking up
> Class.attribute instead of raising a NameError?





More information about the Python-list mailing list