Searched refs:guess_all_extensions (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Lib/ |
D | mimetypes.py | 157 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/ |
D | test_mimetypes.py | 59 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/ |
D | mimetypes.rst | 53 .. 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/ |
D | HISTORY | 5491 - mimetypes has two new functions: guess_all_extensions() which
|