Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
j_baker
on May 25, 2012
|
parent
|
context
|
favorite
| on:
Python FAQ: Descriptors
Descriptors are among the blackest of Python's black magic, but they serve a very useful purpose. Thanks for helping to make them easier to understand.
lucian1900
on May 25, 2012
[–]
An interesting usage of descriptors not mentioned in the article are bound methods, which turn Class.function(self, x) into instance.method(x).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: