]> granicus.if.org Git - python/commitdiff
Remove an outdated statement in execution model docs (GH-754) (GH-775)
authorMariatta <Mariatta@users.noreply.github.com>
Thu, 23 Mar 2017 01:56:56 +0000 (18:56 -0700)
committerGitHub <noreply@github.com>
Thu, 23 Mar 2017 01:56:56 +0000 (18:56 -0700)
(cherry picked from commit fad7f1560669af1766c583c7ef242c55d8c8de41)

Doc/reference/executionmodel.rst

index 5f1ea92ed460f35d8de33da063927afaf3980745..f0dbbd1edf63216f0ce46d815c4c51587b9eb4a2 100644 (file)
@@ -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