commit | 56db09501881ab517079e459aa9777ac1039b767 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Sep 06 23:34:25 2000 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Sep 06 23:34:25 2000 +0000 |
tree | ab3da7892711b1ce315f4053dfb1c8df4ab36ddd | |
parent | 4d46d38292525b3a018ea84418432fedd5418b8c [diff] [blame] |
Another typo (in the list comprehension example).
diff --git a/Misc/NEWS b/Misc/NEWS index 4cd443c..a16263b 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -122,7 +122,7 @@ [<expression> for <variable> in <sequence>] -For example, [x**2 for i in range(4)] yields the list [0, 1, 4, 9]. +For example, [i**2 for i in range(4)] yields the list [0, 1, 4, 9]. This is more efficient than map() with a lambda. You can also add a condition: