Rephrase the new TODO items based on python-ideas thread
This commit is contained in:
parent
0490e0fcd4
commit
dd3aa2ceb8
10
pep-3150.txt
10
pep-3150.txt
|
@ -392,10 +392,12 @@ TO-DO
|
|||
* Define the expected semantics of ``break``, ``continue``, ``return``
|
||||
and ``yield`` in a ``given`` clause (i.e. syntax errors at the clause
|
||||
level, but allowed inside the appropriate compound statements)
|
||||
* Define the expected semantics of ``nonlocal`` and ``global`` in the
|
||||
``given`` clause
|
||||
* Define the name lookup semantics for function definitions in a
|
||||
``given`` clause at function, class and module scope.
|
||||
* Describe the expected semantics of ``nonlocal`` and ``global`` in the
|
||||
``given`` clause.
|
||||
* Describe the name lookup semantics for function definitions in a
|
||||
``given`` clause at function, class and module scope. In particular,
|
||||
note the early binding effect on loop variables or other variables
|
||||
that are rebound after the ``given`` clause is complete.
|
||||
|
||||
|
||||
References
|
||||
|
|
Loading…
Reference in New Issue