summaryrefslogtreecommitdiffstats
path: root/Doc/reference
diff options
context:
space:
mode:
authorMariatta <Mariatta@users.noreply.github.com>2017-03-23 01:56:56 (GMT)
committerGitHub <noreply@github.com>2017-03-23 01:56:56 (GMT)
commitee51327a2329eb9c2bfbb6ea673cfab4299450b0 (patch)
treef431120419799b798dba4a41dcf9fa1c55804ff9 /Doc/reference
parent906118d8c68160ed4a3d15cec803d1ee57836517 (diff)
downloadcpython-ee51327a2329eb9c2bfbb6ea673cfab4299450b0.zip
cpython-ee51327a2329eb9c2bfbb6ea673cfab4299450b0.tar.gz
cpython-ee51327a2329eb9c2bfbb6ea673cfab4299450b0.tar.bz2
Remove an outdated statement in execution model docs (GH-754) (GH-775)
(cherry picked from commit fad7f1560669af1766c583c7ef242c55d8c8de41)
Diffstat (limited to 'Doc/reference')
-rw-r--r--Doc/reference/executionmodel.rst6
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