You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Pass *args and **kwargs to superclass in Generic.__new__ (python#517)
In cases with multiple inheritance, Generic's super may not be object, and so its __new__ requires the same args as __init__.
Note that there's special treatment required for the case where the next class in the mro is object, otherwise every subclass of Generic that takes an argument would need to override __new__.
0 commit comments