diff options
author | Georg Brandl <georg@python.org> | 2009-06-01 17:35:27 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-06-01 17:35:27 +0000 |
commit | 3dd3388229995e00cf0ba858700576a79de0d6ec (patch) | |
tree | 7592304f798f920d045323b9cea5808c28096410 /Doc/library/imghdr.rst | |
parent | 5ce83a004fc0904a43c901c4144c041e2a4155d7 (diff) | |
download | cpython-git-3dd3388229995e00cf0ba858700576a79de0d6ec.tar.gz |
Convert all "i" docs to new style optional args.
Diffstat (limited to 'Doc/library/imghdr.rst')
-rw-r--r-- | Doc/library/imghdr.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/imghdr.rst b/Doc/library/imghdr.rst index d533a3e56b..0c0722df17 100644 --- a/Doc/library/imghdr.rst +++ b/Doc/library/imghdr.rst @@ -1,4 +1,3 @@ - :mod:`imghdr` --- Determine the type of an image ================================================ @@ -12,7 +11,7 @@ byte stream. The :mod:`imghdr` module defines the following function: -.. function:: what(filename[, h]) +.. function:: what(filename, h=None) Tests the image data contained in the file named by *filename*, and returns a string describing the image type. If optional *h* is provided, the *filename* |