diff --git a/src/galois/_domains/_meta.py b/src/galois/_domains/_meta.py index 0b8591e2c..ab5595876 100644 --- a/src/galois/_domains/_meta.py +++ b/src/galois/_domains/_meta.py @@ -25,8 +25,8 @@ class ArrayMeta(abc.ABCMeta): # pylint: disable=no-value-for-parameter - def __new__(cls, name, bases, namespace, **kwargs): # pylint: disable=unused-argument - return super().__new__(cls, name, bases, namespace) + def __new__(mcs, name, bases, namespace, **kwargs): # pylint: disable=unused-argument + return super().__new__(mcs, name, bases, namespace) def __init__(cls, name, bases, namespace, **kwargs): super().__init__(name, bases, namespace, **kwargs) diff --git a/src/galois/_fields/_meta.py b/src/galois/_fields/_meta.py index 2095614b0..ad07ca261 100644 --- a/src/galois/_fields/_meta.py +++ b/src/galois/_fields/_meta.py @@ -25,8 +25,8 @@ class FieldArrayMeta(ArrayMeta): # pylint: disable=no-value-for-parameter,too-many-public-methods - def __new__(cls, name, bases, namespace, **kwargs): # pylint: disable=unused-argument - return super().__new__(cls, name, bases, namespace) + def __new__(mcs, name, bases, namespace, **kwargs): # pylint: disable=unused-argument + return super().__new__(mcs, name, bases, namespace) def __init__(cls, name, bases, namespace, **kwargs): super().__init__(name, bases, namespace, **kwargs)