Fixed call to super().__new__.

This commit is contained in:
Eric V. Smith 2015-08-27 10:48:24 -04:00
parent 8af0c666ad
commit fac2b212af
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ following semantics::
__slots__ = ("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.parsed_fields = parsed_fields
self.field_values = field_values