Message340174
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.
""" |
|
Date |
User |
Action |
Args |
2019-04-13 22:58:43 | jakub.molinski | set | recipients:
+ jakub.molinski, docs@python |
2019-04-13 22:58:43 | jakub.molinski | set | messageid: <1555196323.81.0.314132124963.issue36625@roundup.psfhosted.org> |
2019-04-13 22:58:43 | jakub.molinski | link | issue36625 messages |
2019-04-13 22:58:43 | jakub.molinski | create | |
|