summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/lib/libimp.tex3
-rw-r--r--Doc/libimp.tex3
2 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex
index 5ad2fff29e..317c903033 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 5ad2fff29e..317c903033 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