[issue36625] Obsolete comments in docstrings in fractions module

2019-04-15 Thread Mark Dickinson


Change by Mark Dickinson :


--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36625] Obsolete comments in docstrings in fractions module

2019-04-15 Thread Mark Dickinson


Mark Dickinson  added the comment:


New changeset a9a28808e5a03d2e68e421227c113a38edc40946 by Mark Dickinson (Jakub 
Molinski) in branch 'master':
bpo-36625: Remove obsolete comments from docstrings in fractions module 
(GH-12822)
https://github.com/python/cpython/commit/a9a28808e5a03d2e68e421227c113a38edc40946


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36625] Obsolete comments in docstrings in fractions module

2019-04-14 Thread Mark Dickinson


Mark Dickinson  added the comment:

Agreed that these should be fixed.

--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36625] Obsolete comments in docstrings in fractions module

2019-04-13 Thread Jakub Moliński

Change by Jakub Moliński :


--
keywords: +patch
pull_requests: +12747
stage:  -> patch review

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36625] Obsolete comments in docstrings in fractions module

2019-04-13 Thread Cheryl Sabella


Change by Cheryl Sabella :


--
nosy: +mark.dickinson, rhettinger

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue36625] Obsolete comments in docstrings in fractions module

2019-04-13 Thread Jakub Moliński

New submission from Jakub Moliński :

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 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com