3 ms·
__call__; __new__; __getattr__ and __getattribute__; and __metaclass__ - you can do some black magic in Python straight out of the box that takes a lot more wor
by david_a_r_kemp 15y ago
__call__; __new__; __getattr__ and __getattribute__; and __metaclass__ - you can do some black magic in Python straight out of the box that takes a lot more work in statically typed languages.
- StavrosK 15y agoThose are used for hacking, though, or for more advanced usage. The syntax is to discourage trivial use.