Author serhiy.storchaka
Recipients ammar2, lschoe, lukasz.langa, mark.dickinson, miss-islington, rhettinger, serhiy.storchaka
Date 2020-03-17.09:31:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1584437500.2.0.432141182643.issue38237@roundup.psfhosted.org>
In-reply-to
Content
divmod() should be implemented via __divmod__ and __rdivmod__. And they should be looked up on the type, not instance. There is no easy way to express it in Python accurately. This would make the example too complex.
History
Date User Action Args
2020-03-17 09:31:40serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, mark.dickinson, lukasz.langa, ammar2, miss-islington, lschoe
2020-03-17 09:31:40serhiy.storchakasetmessageid: <1584437500.2.0.432141182643.issue38237@roundup.psfhosted.org>
2020-03-17 09:31:40serhiy.storchakalinkissue38237 messages
2020-03-17 09:31:40serhiy.storchakacreate