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 jakub.molinski
Recipients docs@python, jakub.molinski
Date 2019-04-13.22:58:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1555196323.81.0.314132124963.issue36625@roundup.psfhosted.org>
In-reply-to
Content
3 docstrings in fractions.Fraction contain comments referring to python 3.0. 

def __floor__(a):
    """Will be math.floor(a) in 3.0."""

def __ceil__(a):
    """Will be math.ceil(a) in 3.0."""

def __round__(self, ndigits=None):
    """Will be round(self, ndigits) in 3.0.

    Rounds half toward even.
    """


To make it consistent with other docstrings in the module these should be changed to """math.floor(a)""", """math.ceil(a)""", and 
    """round(self, ndigits)

    Rounds half toward even.
    """
History
Date User Action Args
2019-04-13 22:58:43jakub.molinskisetrecipients: + jakub.molinski, docs@python
2019-04-13 22:58:43jakub.molinskisetmessageid: <1555196323.81.0.314132124963.issue36625@roundup.psfhosted.org>
2019-04-13 22:58:43jakub.molinskilinkissue36625 messages
2019-04-13 22:58:43jakub.molinskicreate