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 <1584438177.81.0.701105686023.issue38237@roundup.psfhosted.org>
In-reply-to
Content
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
History
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: <1584438177.81.0.701105686023.issue38237@roundup.psfhosted.org>
2020-03-17 09:42:57ammar2linkissue38237 messages
2020-03-17 09:42:57ammar2create