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:
parent
d09ed68aeb
commit
15b68976da
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue