diff options
author | Benjamin Peterson <benjamin@python.org> | 2015-04-24 16:02:29 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2015-04-24 16:02:29 (GMT) |
commit | 9bdd61338d5a03cb2d8a677c646df20f64fef30e (patch) | |
tree | ff1a53329615a9b4ed2d92ea52415801c0ae2c6c /Doc | |
parent | bd91ee9cd78ac41ae37ffb06c4d711848cdf4bb0 (diff) | |
download | cpython-9bdd61338d5a03cb2d8a677c646df20f64fef30e.zip cpython-9bdd61338d5a03cb2d8a677c646df20f64fef30e.tar.gz cpython-9bdd61338d5a03cb2d8a677c646df20f64fef30e.tar.bz2 |
remove dead *-import checking code (closes #24049)
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/reference/executionmodel.rst | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Doc/reference/executionmodel.rst b/Doc/reference/executionmodel.rst index a3948e3..6309e59 100644 --- a/Doc/reference/executionmodel.rst +++ b/Doc/reference/executionmodel.rst @@ -161,10 +161,6 @@ 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. -If the wild card form of import --- ``import *`` --- is used in a function and -the function contains or is a nested block with free variables, the compiler -will raise a :exc:`SyntaxError`. - .. XXX from * also invalid with relative imports (at least currently) The :func:`eval` and :func:`exec` functions do not have access to the full |