summaryrefslogtreecommitdiffstats
path: root/Doc/lib/libimghdr.tex
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/lib/libimghdr.tex')
-rw-r--r--Doc/lib/libimghdr.tex5
1 files changed, 3 insertions, 2 deletions
diff --git a/Doc/lib/libimghdr.tex b/Doc/lib/libimghdr.tex
index 22d4d0d..0dec8a1 100644
--- a/Doc/lib/libimghdr.tex
+++ b/Doc/lib/libimghdr.tex
@@ -1,4 +1,5 @@
\section{Standard module \sectcode{imghdr}}
+\label{module-imghdr}
\stmodindex{imghdr}
The \code{imghdr} module determines the type of image contained in a
@@ -53,8 +54,8 @@ the test succeeded, or \code{None} if it failed.
Example:
-\begin{verbatim}
+\bcode\begin{verbatim}
>>> import imghdr
>>> imghdr.what('/tmp/bass.gif')
'gif'
-\end{verbatim}
+\end{verbatim}\ecode