summaryrefslogtreecommitdiffstats
path: root/Doc/ref
diff options
context:
space:
mode:
authorFred Drake <fdrake@acm.org>2003-07-15 21:37:58 (GMT)
committerFred Drake <fdrake@acm.org>2003-07-15 21:37:58 (GMT)
commitb3be52eaf44fb2fdf2779152b9ee23af841aacce (patch)
tree8366c9385deb781dd62d48d569ce5005339fc74a /Doc/ref
parent19db13bcc793aa5c9e818f7cbd2869ea0ea3a4bc (diff)
downloadcpython-b3be52eaf44fb2fdf2779152b9ee23af841aacce.zip
cpython-b3be52eaf44fb2fdf2779152b9ee23af841aacce.tar.gz
cpython-b3be52eaf44fb2fdf2779152b9ee23af841aacce.tar.bz2
Try to clean up some indexing relevant to the import statement.
Pertains to SF bug #518989.
Diffstat (limited to 'Doc/ref')
-rw-r--r--Doc/ref/ref6.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex
index c6ff655..00b7c78 100644
--- a/Doc/ref/ref6.tex
+++ b/Doc/ref/ref6.tex
@@ -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