Commit 2b9e1153 authored by Fred Drake's avatar Fred Drake

Try to clean up some indexing relevant to the import statement.

Pertains to SF bug #518989.
parent 9ea03cf4
...@@ -612,6 +612,9 @@ It continues with the next cycle of the nearest enclosing loop. ...@@ -612,6 +612,9 @@ It continues with the next cycle of the nearest enclosing loop.
\section{The \keyword{import} statement \label{import}} \section{The \keyword{import} statement \label{import}}
\stindex{import} \stindex{import}
\index{module!importing}
\indexii{name}{binding}
\kwindex{from}
\begin{productionlist} \begin{productionlist}
\production{import_stmt} \production{import_stmt}
...@@ -631,9 +634,6 @@ namespace (of the scope where the \keyword{import} statement occurs). ...@@ -631,9 +634,6 @@ namespace (of the scope where the \keyword{import} statement occurs).
The first form (without \keyword{from}) repeats these steps for each The first form (without \keyword{from}) repeats these steps for each
identifier in the list. The form with \keyword{from} performs step identifier in the list. The form with \keyword{from} performs step
(1) once, and then performs step (2) repeatedly. (1) once, and then performs step (2) repeatedly.
\indexii{importing}{module}
\indexii{name}{binding}
\kwindex{from}
In this context, to ``initialize'' a built-in or extension module means to In this context, to ``initialize'' a built-in or extension module means to
call an initialization function that the module must provide for the purpose call an initialization function that the module must provide for the purpose
......
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