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 ShashkovS
Recipients ShashkovS
Date 2015-10-15.14:12:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1444918379.47.0.792770019605.issue25412@psf.upfronthosting.co.za>
In-reply-to
Content
def __floordiv__(a, b):
        """a // b"""
        if isinstance(b, numbers.Complex):
            return math.floor(a / b)
        else:
            return NotImplemented

And the same for __mod__.
History
Date User Action Args
2015-10-15 14:12:59ShashkovSsetrecipients: + ShashkovS
2015-10-15 14:12:59ShashkovSsetmessageid: <1444918379.47.0.792770019605.issue25412@psf.upfronthosting.co.za>
2015-10-15 14:12:59ShashkovSlinkissue25412 messages
2015-10-15 14:12:59ShashkovScreate