4 ms·
Why is this not just in the regular python docs.
by JelteF 13y ago
Why is this not just in the regular python docs.
- aet 13y agoYou may find some stuff here: http://docs.python.org/3.3/reference/datamodel.html http://docs.python.org/3.3/reference/datamodel.html
- vanni 13y agoIt is: http://stackoverflow.com/a/18392248/366332 http://stackoverflow.com/a/18392248/366332
- ketralnis 13y agoFrom the very first section of the article ("Introduction"): > They're also not as well documented as they need to be. All of the magic methods for Python appear in the same section in the Python docs, but they're scattered about and only loosely organized. There's hardly an example to be found in that section (and that may very well be by design, since they're all detailed in the language reference, along with boring syntax descriptions, etc.). > So, to fix what I perceived as a flaw in Python's documentation, I set out to provide some more plain-English, example-driven documentation for Python's magic methods