Initializing an attribute that needs the object
David Pratt
fairwinds at eastlink.ca
Sat Jun 3 08:46:44 EDT 2006
Hi John. Thank you for the tips and the link. This is helpful. Many thanks.
Regards
David
> A new-style class is one which inherits ultimately from the type that is
> called "object".
>
> class NewStyleClass(object):
> pass
>
> class OldStyleClass():
> pass
>
> Docs are a bit ummmm ...
> See this: http://www.python.org/doc/newstyle/
>
> HTH,
> John
>
More information about the Python-list
mailing list