diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex index 5ad2fff29e1..317c903033c 100644 --- a/Doc/lib/libimp.tex +++ b/Doc/lib/libimp.tex @@ -199,7 +199,10 @@ properly matching byte-compiled file (with suffix \code{.pyc}) exists, it will be used instead of parsing the given source file. \end{funcdesc} + \subsection{Examples} +\label{examples-imp} + The following function emulates what was the standard import statement up to Python 1.4 (i.e., no hierarchical module names). (This \emph{implementation} wouldn't work in that version, since diff --git a/Doc/libimp.tex b/Doc/libimp.tex index 5ad2fff29e1..317c903033c 100644 --- a/Doc/libimp.tex +++ b/Doc/libimp.tex @@ -199,7 +199,10 @@ properly matching byte-compiled file (with suffix \code{.pyc}) exists, it will be used instead of parsing the given source file. \end{funcdesc} + \subsection{Examples} +\label{examples-imp} + The following function emulates what was the standard import statement up to Python 1.4 (i.e., no hierarchical module names). (This \emph{implementation} wouldn't work in that version, since