[issue38237] Expose meaningful keyword arguments for pow()
Serhiy Storchaka
report at bugs.python.org
Tue Mar 17 05:31:40 EDT 2020
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
divmod() should be implemented via __divmod__ and __rdivmod__. And they should be looked up on the type, not instance. There is no easy way to express it in Python accurately. This would make the example too complex.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38237>
_______________________________________
More information about the Python-bugs-list
mailing list