Remove the following restriction:

Names bound by import statements may not occur in global
    statements in the same scope.

Why not?
This commit is contained in:
Jeremy Hylton 2002-04-01 21:18:02 +00:00
parent d09ed68aeb
commit 15b68976da

View 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 module's namespace which do not begin with an underscore character
(\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. The \keyword{from} form with \samp{*} may only occur in a module scope.
\kwindex{from} \kwindex{from}
\stindex{from} \stindex{from}