From: Mariatta Date: Thu, 23 Mar 2017 01:56:56 +0000 (-0700) Subject: Remove an outdated statement in execution model docs (GH-754) (GH-775) X-Git-Tag: v3.6.2rc1~289 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ee51327a2329eb9c2bfbb6ea673cfab4299450b0;p=python Remove an outdated statement in execution model docs (GH-754) (GH-775) (cherry picked from commit fad7f1560669af1766c583c7ef242c55d8c8de41) --- diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index 5f1ea92ed4..f0dbbd1edf 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