New submission from Jakub Moliński <ja...@molinski.dev>: 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. """ ---------- assignee: docs@python components: Documentation messages: 340174 nosy: docs@python, jakub.molinski priority: normal severity: normal status: open title: Obsolete comments in docstrings in fractions module type: enhancement versions: Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36625> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com