[issue43737] Documentation of modulo operator should document behaviour clearly when second operator is negative
Raymond Hettinger
report at bugs.python.org
Sat Apr 10 00:50:40 EDT 2021
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
Negative modulo divisors is not a "beginner friendly" topic or even remotely relevant to most users. It is also trivially discoverable with a few seconds of experimentation at the interactive prompt. FWIW, I've read dozens of Python tutorials and don't recall a single one covering this case. We need a better reason to do this other than you insisting on it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43737>
_______________________________________
More information about the Python-bugs-list
mailing list