Commit 47c1d85d authored by Stefan Behnel's avatar Stefan Behnel

Revert "Fix some typos in apparently unused code."

This reverts commit aaba1229.
parent 0475c072
......@@ -4458,7 +4458,7 @@ class SpecialPythonTypeConstructor(PythonTypeConstructor):
template_type = (builtin_scope.lookup_type(py_type_name)
or py_object_type)
else:
template_type = py_object_type
template_type = py_object_types
self.template_type = template_type
def __repr__(self):
......@@ -4492,7 +4492,7 @@ class SpecialPythonTypeConstructor(PythonTypeConstructor):
new_type = py_object_type
return SpecialPythonTypeConstructor(
self.python_type_constructor_name,
template_type=new_type)
template_type = template_values[0])
def __getattr__(self, name):
if self.template_type:
......
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