Ammar Askar <am...@ammaraskar.com> added the comment:
I don't think that matters. The example is supposed to just serve as an illustration, it doesn't need to encode the dunder dispatch semantics. The already existing example doesn't check for a __pow__. I'd picture it just as: return x//y, x%y ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue38237> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com