On Fri, Mar 18, 2022 at 8:31 AM Chris Angelico <ros...@gmail.com> wrote:
> if y < 0: return -(x // -y), x % y I think that should be if y < 0: return -(x // -y), x % -y
_______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/WDWITXUG2U7FHNRHJ7HJY6IIODQELCBF/ Code of Conduct: http://python.org/psf/codeofconduct/