summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4cd443c..a16263b 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -122,7 +122,7 @@ from another list (or lists). The simplest form is:
[<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: