Message25403
Logged In: YES
user_id=80475
Stay close to the definition in the tutorial's glossary:
"""
new-style class
Any class that inherits from object. This includes all
built-in types like list and dict. Only new-style classes
can use Python's newer, versatile features like __slots__,
descriptors, properties, __getattribute__(), class methods,
and static methods.
"""
Also, the 2.2 comment should be in standard form markup:
\versionadded{}
"classes" ==> "class"
Overall, -0 on the update. Ideally, the tutorial should be
kept free of the more advanced concepts like properties,
static methods, descriptors, and whatnot. |
|
Date |
User |
Action |
Args |
2007-08-23 14:32:04 | admin | link | issue1207379 messages |
2007-08-23 14:32:04 | admin | create | |
|