From 893020b59bcabd99e2f64b0791626212568caadf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Walter=20D=C3=B6rwald?= Date: Fri, 19 Dec 2003 18:15:10 +0000 Subject: Remove self from the arguments for the function add_type(). Backport candidate. --- Lib/mimetypes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/mimetypes.py b/Lib/mimetypes.py index 77fdcdf..88b9e2f 100644 --- a/Lib/mimetypes.py +++ b/Lib/mimetypes.py @@ -268,7 +268,7 @@ def guess_extension(type, strict=True): init() return guess_extension(type, strict) -def add_type(self, type, ext, strict=True): +def add_type(type, ext, strict=True): """Add a mapping between a type and an extension. When the extension is already known, the new -- cgit v0.12