This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ammar2
Recipients ammar2, lschoe, lukasz.langa, mark.dickinson, miss-islington, rhettinger, serhiy.storchaka
Date 2020-03-17.09:42:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
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
Date User Action Args
2020-03-17 09:42:57ammar2setrecipients: + ammar2, rhettinger, mark.dickinson, lukasz.langa, serhiy.storchaka, miss-islington, lschoe
2020-03-17 09:42:57ammar2setmessageid: <>
2020-03-17 09:42:57ammar2linkissue38237 messages
2020-03-17 09:42:57ammar2create