Commits

ZyX_I committed 3a476f1

s/supert(cls, cls)/super(AccNum, cls)

Comments (0)

Files changed (1)

     def __new__(cls, f, acc=None):
         try:
             l=list(f)
-            return super(cls, cls).__new__(cls, sum(l)/len(l))
+            return super(AccNum, cls).__new__(cls, sum(l)/len(l))
         except TypeError:
-            return super(cls, cls).__new__(cls, f)
+            return super(AccNum, cls).__new__(cls, f)
 
     def __init__(self, f, acc=None):
         if isinstance(f, self.__class__):