diff -r 6ccb04c4cbae Doc/tutorial/datastructures.rst --- a/Doc/tutorial/datastructures.rst Fri Sep 28 01:15:39 2012 -0700 +++ b/Doc/tutorial/datastructures.rst Fri Sep 28 14:26:16 2012 +0100 @@ -186,7 +186,7 @@ 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