]> granicus.if.org Git - python/commitdiff
Remove the following restriction:
authorJeremy Hylton <jeremy@alum.mit.edu>
Mon, 1 Apr 2002 21:18:02 +0000 (21:18 +0000)
committerJeremy Hylton <jeremy@alum.mit.edu>
Mon, 1 Apr 2002 21:18:02 +0000 (21:18 +0000)
    Names bound by import statements may not occur in global
    statements in the same scope.

Why not?

Doc/ref/ref6.tex

index 0ce94be51af8056778385acb19b668b985fd43d9..7dae88a994b6eaf04cd04337f3a7946f7ea9ed09 100644 (file)
@@ -680,10 +680,6 @@ defined, the set of public names includes all names found in the
 module's namespace which do not begin with an underscore character
 (\character{_}).
 
-Names bound by \keyword{import} statements may not occur in
-\keyword{global} statements in the same scope.
-\stindex{global}
-
 The \keyword{from} form with \samp{*} may only occur in a module scope.
 \kwindex{from}
 \stindex{from}