An interesting difference between classic and new style objects
Pekka Pessi
Pekka.Pessi at nokia.com
Sat Jan 12 15:45:27 EST 2002
More information about the Python-list mailing list
Sat Jan 12 15:45:27 EST 2002
- Previous message (by thread): An interesting difference between classic and new style objects
- Next message (by thread): ANN: eGenix.com mx COMMERCIAL Extension Package 2.0.4 for Python 2.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In message <pvn0zjfgng.fsf at agni.research.nokia.com> Pekka Pessi <Pekka.Pessi at nokia.com> writes: > What is a difference of a method and an attribute? Method is > always an attribute of the class. The new-style classes are > immutable, so it is not possible to modify methods of a new > style object. Hmph. It seems to me that I had an old version of Python 2.2 lying around, in the release version the new-style classes (or types) are modifiable. Pekka
- Previous message (by thread): An interesting difference between classic and new style objects
- Next message (by thread): ANN: eGenix.com mx COMMERCIAL Extension Package 2.0.4 for Python 2.2
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list