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

R. David Murray report at bugs.python.org
Thu Jun 12 22:12:25 CEST 2014

R. David Murray added the comment:

OK, I have no objection to leaving the 2.7 tutorial alone.  It seems to me that the 3.x tutorial should be fixed, though, because it currently says the unrolled loop is equivalent, but it isn't.  The fact that this applies to all other comprehensions in python3 I think adds weight to the idea of including the information in the tutorial somehow.

versions: +Python 3.4, Python 3.5 -Python 2.7

Python tracker <report at bugs.python.org>

More information about the docs mailing list