From: Fred Drake Date: Tue, 15 Jul 2003 21:37:58 +0000 (+0000) Subject: Try to clean up some indexing relevant to the import statement. X-Git-Tag: v2.3c1~69 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3be52eaf44fb2fdf2779152b9ee23af841aacce;p=python Try to clean up some indexing relevant to the import statement. Pertains to SF bug #518989. --- diff --git a/Doc/ref/ref6.tex b/Doc/ref/ref6.tex index c6ff655e5b..00b7c78d03 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