Fixed call to super().__new__.
This commit is contained in:
parent
8af0c666ad
commit
fac2b212af
|
@ -166,7 +166,7 @@ following semantics::
|
||||||
__slots__ = ("raw_template", "parsed_fields", "field_values")
|
__slots__ = ("raw_template", "parsed_fields", "field_values")
|
||||||
|
|
||||||
def __new__(cls, raw_template, parsed_fields, field_values):
|
def __new__(cls, raw_template, parsed_fields, field_values):
|
||||||
self = super().__new__()
|
self = super().__new__(cls)
|
||||||
self.raw_template = raw_template
|
self.raw_template = raw_template
|
||||||
self.parsed_fields = parsed_fields
|
self.parsed_fields = parsed_fields
|
||||||
self.field_values = field_values
|
self.field_values = field_values
|
||||||
|
|
Loading…
Reference in New Issue