Here's what new-style classes have to offer:
Properties: Attributes that are defined by get/set methods
Static methods and class methods
The new __getattribute__ hook, which, unlike
__getattr__, is called for every attribute access,
not just when the attribute can't be found in the instance
Descriptors: A protocol to define the behavior of attribute access through objects
Overriding the constructor __new__
Metaclasses (not discussed)
Group items matching
in title, tags, annotations or urlFunctional Programming HOWTO - 0 views
(An unofficial) Python Tutorial Zone - 0 views
SciPy Course Outline - 0 views
How to Write a Spelling Corrector - 0 views
An Introduction to Tkinter - 1 views
Python Tutorial - - 0 views
« First
‹ Previous
41 - 60 of 95
Next ›
Last »
Showing 20▼ items per page