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 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:
|
||||
|
||||
|
|
Loading…
Reference in New Issue