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.tex6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/lib/libimghdr.tex b/Doc/lib/libimghdr.tex
index e8ec4e9..71ef949 100644
--- a/Doc/lib/libimghdr.tex
+++ b/Doc/lib/libimghdr.tex
@@ -7,7 +7,7 @@ file or byte stream.
The \code{imghdr} module defines the following function:
-\renewcommand{\indexsubitem}{(in module imghdr)}
+\setindexsubitem{(in module imghdr)}
\begin{funcdesc}{what}{filename\optional{\, h}}
Tests the image data contained in the file named by \var{filename},
@@ -54,8 +54,8 @@ the test succeeded, or \code{None} if it failed.
Example:
-\bcode\begin{verbatim}
+\begin{verbatim}
>>> import imghdr
>>> imghdr.what('/tmp/bass.gif')
'gif'
-\end{verbatim}\ecode
+\end{verbatim}