diff options
Diffstat (limited to 'Lib/mimetypes.py')
-rw-r--r-- | Lib/mimetypes.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 5784e23094..77fdcdf056 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -65,7 +65,7 @@ class MimeTypes: self.read(name, strict) def add_type(self, type, ext, strict=True): - """Add a mapping between a type and and extension. + """Add a mapping between a type and an extension. When the extension is already known, the new type will replace the old one. When the type @@ -269,7 +269,7 @@ def guess_extension(type, strict=True): return guess_extension(type, strict) def add_type(self, type, ext, strict=True): - """Add a mapping between a type and and extension. + """Add a mapping between a type and an extension. When the extension is already known, the new type will replace the old one. When the type |