@@ -43,7 +43,7 @@ def __call__(self, *args):
4343
4444class ConvertArgsProxy (PassThroughProxy ):
4545 def __init__ (self , fn_name , obj ):
46- PassThroughProxy .__init__ (self , fn_name , obj )
46+ super () .__init__ (fn_name , obj )
4747 self .unit = obj .unit
4848
4949 def __call__ (self , * args ):
@@ -54,23 +54,23 @@ def __call__(self, *args):
5454 except AttributeError :
5555 converted_args .append (TaggedValue (a , self .unit ))
5656 converted_args = tuple ([c .get_value () for c in converted_args ])
57- return PassThroughProxy .__call__ (self , * converted_args )
57+ return super () .__call__ (* converted_args )
5858
5959
6060class ConvertReturnProxy (PassThroughProxy ):
6161 def __init__ (self , fn_name , obj ):
62- PassThroughProxy .__init__ (self , fn_name , obj )
62+ super () .__init__ (fn_name , obj )
6363 self .unit = obj .unit
6464
6565 def __call__ (self , * args ):
66- ret = PassThroughProxy .__call__ (self , * args )
66+ ret = super () .__call__ (* args )
6767 return (NotImplemented if ret is NotImplemented
6868 else TaggedValue (ret , self .unit ))
6969
7070
7171class ConvertAllProxy (PassThroughProxy ):
7272 def __init__ (self , fn_name , obj ):
73- PassThroughProxy .__init__ (self , fn_name , obj )
73+ super () .__init__ (fn_name , obj )
7474 self .unit = obj .unit
7575
7676 def __call__ (self , * args ):
@@ -96,7 +96,7 @@ def __call__(self, *args):
9696 else :
9797 arg_units .append (None )
9898 converted_args = tuple (converted_args )
99- ret = PassThroughProxy .__call__ (self , * converted_args )
99+ ret = super () .__call__ (* converted_args )
100100 if ret is NotImplemented :
101101 return NotImplemented
102102 ret_unit = unit_resolver (self .fn_name , arg_units )
0 commit comments