diff options
author | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-07-17 16:34:52 (GMT) |
commit | e47da0ae04814fab2a0aa6e637de2e4269978017 (patch) | |
tree | 1360ad7010b92c02d287e79accc1415c77bedc3e /Doc/lib/libimp.tex | |
parent | 3c2a056fdd3af1f3b94f134b0cab2bd8050c9703 (diff) | |
download | cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.zip cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.tar.gz cpython-e47da0ae04814fab2a0aa6e637de2e4269978017.tar.bz2 |
AMK's megapatch:
* \bcode, \ecode added everywhere
* \label{module-foo} added everywhere
* A few \seealso sections added.
* Indentation fixed inside verbatim in lib*tex files
Diffstat (limited to 'Doc/lib/libimp.tex')
-rw-r--r-- | Doc/lib/libimp.tex | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libimp.tex b/Doc/lib/libimp.tex index e1e4a53..0f63524 100644 --- a/Doc/lib/libimp.tex +++ b/Doc/lib/libimp.tex @@ -1,4 +1,5 @@ \section{Built-in Module \sectcode{imp}} +\label{module-imp} \bimodindex{imp} \index{import} @@ -132,7 +133,7 @@ The module was found as dynamically loadable shared library. \subsection{Examples} The following function emulates the default import statement: -\begin{verbatim} +\bcode\begin{verbatim} import imp import sys @@ -171,4 +172,4 @@ def __import__(name, globals=None, locals=None, fromlist=None): finally: # Since we may exit via an exception, close fp explicitly. fp.close() -\end{verbatim} +\end{verbatim}\ecode |