Home
last modified time | relevance | path

Searched refs:guess_all_extensions (Results 1 – 4 of 4) sorted by relevance

/external/python/cpython2/Lib/
Dmimetypes.py157 def guess_all_extensions(self, type, strict=True): member in MimeTypes
189 extensions = self.guess_all_extensions(type, strict)
297 def guess_all_extensions(type, strict=True): function
312 return _db.guess_all_extensions(type, strict)
/external/python/cpython2/Lib/test/
Dtest_mimetypes.py59 all = set(self.db.guess_all_extensions('text/plain', strict=True))
62 all = self.db.guess_all_extensions('image/jpg', strict=False)
66 all = self.db.guess_all_extensions('image/jpg', strict=True)
/external/python/cpython2/Doc/library/
Dmimetypes.rst53 .. function:: guess_all_extensions(type, strict=True)
232 .. method:: MimeTypes.guess_all_extensions(type, strict=True)
234 Similar to the :func:`guess_all_extensions` function, using the tables stored
/external/python/cpython2/Misc/
DHISTORY5491 - mimetypes has two new functions: guess_all_extensions() which