Try to clarify parens a bit
This commit is contained in:
parent
baa6e3c955
commit
ee1191f906
|
@ -71,10 +71,11 @@ Core language
|
||||||
* Cleanup the Py_InitModule() variants {,3,4} (also import and parser APIs)
|
* Cleanup the Py_InitModule() variants {,3,4} (also import and parser APIs)
|
||||||
* Cleanup the APIs exported in pythonrun, etc.
|
* Cleanup the APIs exported in pythonrun, etc.
|
||||||
* Fix (or remove) {}.setdefault() [21]_
|
* Fix (or remove) {}.setdefault() [21]_
|
||||||
* List comprehensions will require parentheses around the iterables.
|
* Some expressions will require paretheses that didn't in 2.x:
|
||||||
This will make list comprehensions more similar to generator comprehensions.
|
- List comprehensions will require parentheses around the iterables.
|
||||||
[x for x in 1, 2] will need to be: [x for x in (1, 2)]
|
This will make list comprehensions more similar to generator comprehensions.
|
||||||
* Lambdas will have to be parenthesized [23]_
|
[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:
|
To be removed:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue