changing how instances are "created"

newseater kbilsted at hotmail.com
Sun Jun 12 20:03:18 EDT 2005


>
> A staticmethod does not take a cls argument. It is essentially just a
> function that is attached to a class.

yes i know of that difference... but one cannot easily override a class
method in a supclass.. as calling super then make the cls variable
point to the super class class rather than the subclass! very
confusing! So i decided to skip that one...




More information about the Python-list mailing list