why static methods?
Greg Ewing (using news.cis.dfn.de)
me at privacy.net
Thu Feb 20 22:55:26 EST 2003
More information about the Python-list mailing list
Thu Feb 20 22:55:26 EST 2003
- Previous message (by thread): why static methods?
- Next message (by thread): IDLE with Japanese locale (was: RELEASED: Python 2.3a2)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Uwe Schmitt wrote: > Can you explain the differences > between static- and class-functions, too ? A class method is like a static method except that it is passed the class as its first parameter when called, much like an ordinary method is passed the instance when called. -- Greg Ewing, Computer Science Dept, University of Canterbury, Christchurch, New Zealand http://www.cosc.canterbury.ac.nz/~greg
- Previous message (by thread): why static methods?
- Next message (by thread): IDLE with Japanese locale (was: RELEASED: Python 2.3a2)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list