mirror of
https://github.com/python/cpython.git
synced 2025-11-02 03:01:58 +00:00
Try to clean up some indexing relevant to the import statement.
Pertains to SF bug #518989.
This commit is contained in:
parent
19db13bcc7
commit
b3be52eaf4
1 changed files with 3 additions and 3 deletions
|
|
@ -612,6 +612,9 @@ It continues with the next cycle of the nearest enclosing loop.
|
|||
|
||||
\section{The \keyword{import} statement \label{import}}
|
||||
\stindex{import}
|
||||
\index{module!importing}
|
||||
\indexii{name}{binding}
|
||||
\kwindex{from}
|
||||
|
||||
\begin{productionlist}
|
||||
\production{import_stmt}
|
||||
|
|
@ -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
|
||||
identifier in the list. The form with \keyword{from} performs step
|
||||
(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
|
||||
call an initialization function that the module must provide for the purpose
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue