Changeset 391 for python/trunk/Doc/library/mailcap.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/mailcap.rst
r2 r391 5 5 :synopsis: Mailcap file handling. 6 6 7 **Source code:** :source:`Lib/mailcap.py` 7 8 9 -------------- 8 10 9 11 Mailcap files are used to configure how MIME-aware applications such as mail … … 70 72 >>> import mailcap 71 73 >>> 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'}) 74 76
Note:
See TracChangeset
for help on using the changeset viewer.