Home
last modified time | relevance | path

Searched refs:findmatch (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Doc/library/
Dmailcap.rst25 .. 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/
Dmailcap.rst25 .. 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/
Dmailcap.py138 def findmatch(caps, MIMEtype, key='view', filename="/dev/null", plist=[]): function
226 command, e = findmatch(caps, MIMEtype, 'view', file)
/external/python/cpython3/Lib/
Dmailcap.py159 def findmatch(caps, MIMEtype, key='view', filename="/dev/null", plist=[]): function
248 command, e = findmatch(caps, MIMEtype, 'view', file)
/external/python/cpython3/Lib/test/
Dtest_mailcap.py235 self.assertEqual(mailcap.findmatch(*c[0], **c[1]), c[2])