Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gmjosack
on Feb 28, 2014
|
parent
|
context
|
favorite
| on:
Python Best Practice Patterns
You might be interested in the docs on the Data Model [0] to learn more about the various "dunder" (__foo__) methods. There are a ton of cool things you can do with python objects.
[0]
http://docs.python.org/2/reference/datamodel.html
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
[0] http://docs.python.org/2/reference/datamodel.html