From: Jeremy Hylton Date: Mon, 1 Apr 2002 21:18:02 +0000 (+0000) Subject: Remove the following restriction: X-Git-Tag: v2.3c1~6179 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=15b68976da65bc3827a6783e36d13248f2dc7e6f;p=python Remove the following restriction: Names bound by import statements may not occur in global statements in the same scope. Why not? --- diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex index 0ce94be51a..7dae88a994 100644 --- a/Doc/ref/ref6.tex +++ b/Doc/ref/ref6.tex @@ -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}