Glossary — Python v2.6.9 documentation: new-style class
Any class which 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, and __getattribute__().
More information can be found in New-style and classic classes.
0 件のコメント:
コメントを投稿