Searched refs:findmatch (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Doc/library/ |
D | mailcap.rst | 25 .. function:: findmatch(caps, MIMEtype, key='view', filename='/dev/null', plist=[]) 54 use) to determine whether or not the mailcap line applies. :func:`findmatch` 61 dictionary must be passed to the :func:`findmatch` function. An entry is stored 74 >>> mailcap.findmatch(d, 'video/mpeg', filename='tmp1223')
|
/external/python/cpython2/Doc/library/ |
D | mailcap.rst | 25 .. function:: findmatch(caps, MIMEtype[, key[, filename[, plist]]]) 54 use) to determine whether or not the mailcap line applies. :func:`findmatch` 61 dictionary must be passed to the :func:`findmatch` function. An entry is stored 74 >>> mailcap.findmatch(d, 'video/mpeg', filename='tmp1223')
|
/external/python/cpython2/Lib/ |
D | mailcap.py | 138 def findmatch(caps, MIMEtype, key='view', filename="/dev/null", plist=[]): function 226 command, e = findmatch(caps, MIMEtype, 'view', file)
|
/external/python/cpython3/Lib/ |
D | mailcap.py | 159 def findmatch(caps, MIMEtype, key='view', filename="/dev/null", plist=[]): function 248 command, e = findmatch(caps, MIMEtype, 'view', file)
|
/external/python/cpython3/Lib/test/ |
D | test_mailcap.py | 235 self.assertEqual(mailcap.findmatch(*c[0], **c[1]), c[2])
|