[docs] [issue21739] Add hint about expression in list comprehensions (https://docs.python.org/2/tutorial/datastructures.html#list-comprehensions)

Raymond Hettinger report at bugs.python.org
Thu Jun 12 22:03:30 CEST 2014

Raymond Hettinger added the comment:

I wouldn't like to use the tutorial to highlight or draw attention a feature/bug that is going away. 

I recommend leaving the tutorial as-is.  For a decade, it has worked well for introducing people to list comprehensions.  More complete implementation specs belong in the Language Reference or in the List Comp PEP.

The tutorial is mainly about showing the normal and correct usage of tools  rather than emphasizing oddities that don't matter to most of the people, most of the time.

If you feel strongly compelled to "just add something", then consider a FAQ entry.

assignee: docs at python -> rhettinger
nosy: +rhettinger
priority: normal -> low
type: enhancement -> 
versions:  -Python 3.4, Python 3.5

Python tracker <report at bugs.python.org>

More information about the docs mailing list