mirror of
https://github.com/python/cpython.git
synced 2025-09-30 12:21:51 +00:00
Remove an outdated statement in execution model docs (GH-754) (GH-775)
(cherry picked from commit fad7f15606
)
This commit is contained in:
parent
906118d8c6
commit
ee51327a23
1 changed files with 0 additions and 6 deletions
|
@ -194,12 +194,6 @@ This means that the following code will print 42::
|
||||||
i = 42
|
i = 42
|
||||||
f()
|
f()
|
||||||
|
|
||||||
There are several cases where Python statements are illegal when used in
|
|
||||||
conjunction with nested scopes that contain free variables.
|
|
||||||
|
|
||||||
If a variable is referenced in an enclosing scope, it is illegal to delete the
|
|
||||||
name. An error will be reported at compile time.
|
|
||||||
|
|
||||||
.. XXX from * also invalid with relative imports (at least currently)
|
.. XXX from * also invalid with relative imports (at least currently)
|
||||||
|
|
||||||
The :func:`eval` and :func:`exec` functions do not have access to the full
|
The :func:`eval` and :func:`exec` functions do not have access to the full
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue