Python 2 compatible super()

This commit is contained in:
Peter Law
2020-06-14 16:27:39 +01:00
parent 4f11f20e1d
commit 7e637c5e5e

View File

@@ -124,7 +124,7 @@ class TypeVar(BaseTypingValue):
class TypeWrapper(ValueWrapper):
def __init__(self, wrapped_value, original_value):
super().__init__(wrapped_value)
super(TypeWrapper, self).__init__(wrapped_value)
self._original_value = original_value
def execute_annotation(self):