[Python-checkins] r42612 - peps/trunk/pep-3000.txt
neal.norwitz
python-checkins at python.org
Mon Feb 27 18:38:29 CET 2006
Author: neal.norwitz
Date: Mon Feb 27 18:38:27 2006
New Revision: 42612
Modified:
peps/trunk/pep-3000.txt
Log:
Try to clarify parens a bit
Modified: peps/trunk/pep-3000.txt
==============================================================================
--- peps/trunk/pep-3000.txt (original)
+++ peps/trunk/pep-3000.txt Mon Feb 27 18:38:27 2006
@@ -71,10 +71,11 @@
* Cleanup the Py_InitModule() variants {,3,4} (also import and parser APIs)
* Cleanup the APIs exported in pythonrun, etc.
* Fix (or remove) {}.setdefault() [21]_
-* 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]_
+* Some expressions will require paretheses that didn't in 2.x:
+ - 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:
More information about the Python-checkins
mailing list