mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
Remove all \bcode / \ecode cruft; this is no longer needed. See previous
checkin of myformat.sty. Change "\renewcommand{\indexsubitem}{(...)}" to "\setindexsubitem{(...)}" everywhere. Some other minor nits that I happened to come across.
This commit is contained in:
parent
dc8af0acc1
commit
1947991c2f
241 changed files with 1022 additions and 1020 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue