This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Missing spaces in list literals in Tutorial/Data Structures
Type: enhancement Stage: resolved
Components: Documentation Versions:
process
Status: closed Resolution: rejected
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, jakub.molinski, rhettinger
Priority: normal Keywords: patch

Created on 2020-11-07 19:01 by jakub.molinski, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 23193 closed jakub.molinski, 2020-11-07 19:14
Messages (2)
msg380514 - (view) Author: Jakub Moliński (jakub.molinski) * Date: 2020-11-07 19:01
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.
msg380520 - (view) Author: Raymond Hettinger (rhettinger) * (Python committer) Date: 2020-11-07 19:44
Thanks for the suggestion, but I'm going to mark it as declined for the reasons listed in the PR.
History
Date User Action Args
2022-04-11 14:59:37adminsetgithub: 86451
2020-11-07 19:44:36rhettingersetstatus: open -> closed

nosy: + rhettinger
messages: + msg380520

resolution: rejected
stage: patch review -> resolved
2020-11-07 19:14:35jakub.molinskisetkeywords: + patch
stage: patch review
pull_requests: + pull_request22096
2020-11-07 19:01:51jakub.molinskicreate