diff options
author | Ivan Levkivskyi <levkivskyi@gmail.com> | 2017-03-23 00:54:53 (GMT) |
---|---|---|
committer | Mariatta <Mariatta@users.noreply.github.com> | 2017-03-23 00:54:53 (GMT) |
commit | fad7f1560669af1766c583c7ef242c55d8c8de41 (patch) | |
tree | dfc574a831b4ea06edef9d715e62a7c2019ba2c1 /Doc/reference/executionmodel.rst | |
parent | bd3d8ba3b22da0bad018b53a3e6610ae03c5aa49 (diff) | |
download | cpython-fad7f1560669af1766c583c7ef242c55d8c8de41.zip cpython-fad7f1560669af1766c583c7ef242c55d8c8de41.tar.gz cpython-fad7f1560669af1766c583c7ef242c55d8c8de41.tar.bz2 |
Remove an outdated statement in execution model docs (GH-754)
Diffstat (limited to 'Doc/reference/executionmodel.rst')
-rw-r--r-- | Doc/reference/executionmodel.rst | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index 5f1ea92..f0dbbd1 100644 --- a/Doc/reference/executionmodel.rst +++ b/Doc/reference/executionmodel.rst @@ -194,12 +194,6 @@ This means that the following code will print 42:: i = 42 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) The :func:`eval` and :func:`exec` functions do not have access to the full |