Commit 15b68976 authored by Jeremy Hylton's avatar Jeremy Hylton

Remove the following restriction:

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

Why not?
parent d09ed68a
...@@ -680,10 +680,6 @@ defined, the set of public names includes all names found in the ...@@ -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}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment