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/mailcap.rst

    r2 r391  
    55   :synopsis: Mailcap file handling.
    66
     7**Source code:** :source:`Lib/mailcap.py`
    78
     9--------------
    810
    911Mailcap files are used to configure how MIME-aware applications such as mail
     
    7072   >>> import mailcap
    7173   >>> d=mailcap.getcaps()
    72    >>> mailcap.findmatch(d, 'video/mpeg', filename='/tmp/tmp1223')
    73    ('xmpeg /tmp/tmp1223', {'view': 'xmpeg %s'})
     74   >>> mailcap.findmatch(d, 'video/mpeg', filename='tmp1223')
     75   ('xmpeg tmp1223', {'view': 'xmpeg %s'})
    7476
Note: See TracChangeset for help on using the changeset viewer.