Kaydet (Commit) 893020b5 authored tarafından Walter Dörwald's avatar Walter Dörwald

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

Backport candidate.
üst 4a264fb0
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment