From: Mariatta Date: Thu, 23 Mar 2017 01:55:33 +0000 (-0700) Subject: Remove an outdated statement in execution model docs (GH-754) (GH-774) X-Git-Tag: v3.5.4rc1~258 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=a6a856f4d85d6dab5ea924546777292988cbc706;p=thirdparty%2FPython%2Fcpython.git Remove an outdated statement in execution model docs (GH-754) (GH-774) (cherry picked from commit fad7f1560669af1766c583c7ef242c55d8c8de41) --- diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index 5f1ea92ed460..f0dbbd1edf63 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