]> granicus.if.org Git - python/commitdiff
Try to clean up some indexing relevant to the import statement.
authorFred Drake <fdrake@acm.org>
Tue, 15 Jul 2003 21:37:58 +0000 (21:37 +0000)
committerFred Drake <fdrake@acm.org>
Tue, 15 Jul 2003 21:37:58 +0000 (21:37 +0000)
Pertains to SF bug #518989.

Doc/ref/ref6.tex

index c6ff655e5b5b095965b871739c3e9419cb878d44..00b7c78d039ef7f2f25c9ae11a9a04ab1eeca411 100644 (file)
@@ -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