3 ms·
PythonJS implements __getattr__. See these regression tests: https://github.com/PythonJS/PythonJS/blob/master/regtests/class/__getattr__.py https://github.com/
by bretthartshorn 12y ago
PythonJS implements __getattr__. See these regression tests:
https://github.com/PythonJS/PythonJS/blob/master/regtests/class/__getattr__.py https://github.com/PythonJS/PythonJS/blob/master/regtests/cl...
https://github.com/PythonJS/PythonJS/blob/master/regtests/class/mi__getattr__.py https://github.com/PythonJS/PythonJS/blob/master/regtests/cl...
__getattr__ and __getattribute__ are implemented in the special __get__ function defined in:
https://github.com/PythonJS/PythonJS/blob/master/pythonjs/runtime/pythonpythonjs.py https://github.com/PythonJS/PythonJS/blob/master/pythonjs/ru...