Commit 18581efe authored by Chris Jerdonek's avatar Chris Jerdonek

Close issue #16073: merge fix from 3.2.

parents 8ef1fcec fd448daf
......@@ -186,7 +186,7 @@ We can obtain the same result with::
squares = [x**2 for x in range(10)]
This is also equivalent to ``squares = map(lambda x: x**2, range(10))``,
This is also equivalent to ``squares = list(map(lambda x: x**2, range(10)))``,
but it's more concise and readable.
A list comprehension consists of brackets containing an expression followed
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment