commit | 5ccaf8f1298628bea5a4c7442413f2901914f1bc | [log] [tgz] |
---|---|---|
author | Walter Dörwald <walter@livinglogic.de> | Fri Sep 06 16:15:58 2002 +0000 |
committer | Walter Dörwald <walter@livinglogic.de> | Fri Sep 06 16:15:58 2002 +0000 |
tree | 218c01a700b8053931a5748029331cb756801656 | |
parent | 2c519981fb7b0992afe8168bb7781e6ed8d49531 [diff] |
Apply diff3.txt (plus additional documentation) from SF patch http://www.python.org/sf/554192 This adds two new functions to mimetypes: guess_all_extensions() which returns a list of all known extensions for a mime type, and add_type() which adds one mapping between a mime type and an extension.