Peter Inglesby added the comment:
Have attached a patch with suggested update.
Have also grepped for similar issues elsewhere in documentation, and haven't
found anything, but may have missed something.
--
keywords: +patch
nosy: +inglesp
Added file:
Chris Jerdonek added the comment:
2.7 is not affected.
--
assignee: docs@python - chris.jerdonek
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16073
___
Roundup Robot added the comment:
New changeset 6c96878eb729 by Chris Jerdonek in branch '3.2':
Close issue #16073: fix map() example in list comprehension documentation.
http://hg.python.org/cpython/rev/6c96878eb729
New changeset 8a4a88b1e964 by Chris Jerdonek in branch 'default':
Close issue
Chris Jerdonek added the comment:
Thanks for helping with the patch and search, Peter.
--
resolution: - fixed
stage: needs patch - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16073
New submission from Chris Jerdonek:
Date: Thu, 20 Sep 2012 15:14:36 -0400
To: d...@python.org
Subject: [docs] map objects are not lists
5.1.3. List
Comprehensionshttp://docs.python.org/dev/tutorial/datastructures.html#list-comprehensions
List comprehensions provide a concise way to