Ignore:
Timestamp:
Mar 19, 2014, 11:31:01 PM (11 years ago)
Author:
dmik
Message:

python: Merge vendor 2.7.6 to trunk.

Location:
python/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • python/trunk

  • python/trunk/Doc/library/imghdr.rst

    r2 r391  
    1 
    21:mod:`imghdr` --- Determine the type of an image
    32================================================
     
    65   :synopsis: Determine the type of image contained in a file or byte stream.
    76
     7**Source code:** :source:`Lib/imghdr.py`
     8
     9--------------
    810
    911The :mod:`imghdr` module determines the type of image contained in a file or
     
    6769
    6870   >>> import imghdr
    69    >>> imghdr.what('/tmp/bass.gif')
     71   >>> imghdr.what('bass.gif')
    7072   'gif'
    7173
Note: See TracChangeset for help on using the changeset viewer.