Changeset 391 for python/trunk/Doc/library/imghdr.rst
- Timestamp:
- Mar 19, 2014, 11:31:01 PM (11 years ago)
- Location:
- python/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk
-
Property svn:mergeinfo
set to
/python/vendor/Python-2.7.6 merged eligible /python/vendor/current merged eligible
-
Property svn:mergeinfo
set to
-
python/trunk/Doc/library/imghdr.rst
r2 r391 1 2 1 :mod:`imghdr` --- Determine the type of an image 3 2 ================================================ … … 6 5 :synopsis: Determine the type of image contained in a file or byte stream. 7 6 7 **Source code:** :source:`Lib/imghdr.py` 8 9 -------------- 8 10 9 11 The :mod:`imghdr` module determines the type of image contained in a file or … … 67 69 68 70 >>> import imghdr 69 >>> imghdr.what(' /tmp/bass.gif')71 >>> imghdr.what('bass.gif') 70 72 'gif' 71 73
Note:
See TracChangeset
for help on using the changeset viewer.