[issue42285] Missing spaces in list literals in Tutorial/Data Structures
New submission from Jakub Moliński <jakub@molinski.dev>: 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 <report@bugs.python.org> <https://bugs.python.org/issue42285> _______________________________________
Change by Jakub Moliński <jakub@molinski.dev>: ---------- keywords: +patch pull_requests: +22096 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23193 _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42285> _______________________________________
Raymond Hettinger <raymond.hettinger@gmail.com> added the comment: Thanks for the suggestion, but I'm going to mark it as declined for the reasons listed in the PR. ---------- nosy: +rhettinger resolution: -> rejected stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue42285> _______________________________________
participants (2)
-
Jakub Moliński
-
Raymond Hettinger