2 ms·
If you like this kind of thing, the python manual has this: https://docs.python.org/3/reference/datamodel.html https://docs.python.org/3/reference/datamodel.htm
by disgruntledphd2 5y ago
If you like this kind of thing, the python manual has this: https://docs.python.org/3/reference/datamodel.html https://docs.python.org/3/reference/datamodel.html
I found the book Fluent Python to be a great introduction to the ideas behind abstraction in Python.
Apparently, it's cadged from the Art of the Metaobject Protocol, which is a great book (which annoyingly enough, is not available in ebook form, which is a shame as typing loads of code from a dead-tree book is time consuming).