[issue42285] Missing spaces in list literals in Tutorial/Data Structures
New submission from Jakub Moliński : In the Data Structures section of the Tutorial there are examples of nested list comprehensions that include list literals where elements are written without spaces after commas (`[1,2,3]` instead `[1, 2, 3]`). This is a trivial problem but since this is a tutorial for newcomers (and one of the previous parts of this tutorial explicitly says that the spaces should be present after commas, and in other parts of the tutorial they are consistently put there) I think this deserves to be fixed. -- assignee: docs@python components: Documentation messages: 380514 nosy: docs@python, jakub.molinski priority: normal severity: normal status: open title: Missing spaces in list literals in Tutorial/Data Structures type: enhancement ___ Python tracker <https://bugs.python.org/issue42285> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue42285] Missing spaces in list literals in Tutorial/Data Structures
Change by Jakub Moliński : -- keywords: +patch pull_requests: +22096 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23193 ___ Python tracker <https://bugs.python.org/issue42285> ___ ___ 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
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 <https://bugs.python.org/issue36625> ___ ___ 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
Change by Jakub Moliński : -- keywords: +patch pull_requests: +12747 stage: -> patch review ___ Python tracker <https://bugs.python.org/issue36625> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com