From 41ae421a05ecc3269c8b06b9049f396d40cf6c9a Mon Sep 17 00:00:00 2001 From: Neal Norwitz Date: Mon, 27 Feb 2006 17:11:04 +0000 Subject: [PATCH] Add note from 308 --- pep-3000.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pep-3000.txt b/pep-3000.txt index bc4fe7d44..c63f2b64f 100644 --- a/pep-3000.txt +++ b/pep-3000.txt @@ -74,6 +74,7 @@ Core language * List comprehensions will require parentheses around the iterables. This will make list comprehensions more similar to generator comprehensions. [x for x in 1, 2] will need to be: [x for x in (1, 2)] +* Lambdas will have to be parenthesized [23]_ To be removed: @@ -238,6 +239,9 @@ References .. [22] python-dev email ("defaultdict") http://mail.python.org/pipermail/python-dev/2006-February/061261.html +.. [23] PEP 308 ("Conditional Expressions") + http://www.python.org/peps/pep-0308.html + Copyright =========