[issue42285] Missing spaces in list literals in Tutorial/Data Structures

Jakub Moliński report at bugs.python.org
Sat Nov 7 14:01:51 EST 2020


New submission from Jakub Moliński <jakub at 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 at python
components: Documentation
messages: 380514
nosy: docs at python, jakub.molinski
priority: normal
severity: normal
status: open
title: Missing spaces in list literals in Tutorial/Data Structures
type: enhancement

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42285>
_______________________________________


More information about the Python-bugs-list mailing list