How-To Guide for Descriptors
[Posted June 11, 2003 by cook]
Raymond Hettinger has published a
How-To Guide for Descriptors for the Python language.
The abstract says:
"
Defines descriptors, summarizes the protocol, and shows how descriptors are called. Examines a custom descriptor and several built-in python descriptors including functions, properties, static methods, and class methods. Shows how each works by giving a pure Python equivalent and a sample application."
(
Log in to post comments)