Remove self from the arguments for the function add_type().

Backport candidate.
This commit is contained in:
Walter Dörwald 2003-12-19 18:15:10 +00:00
parent 4a264fb054
commit 893020b59b

View file

@ -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