Closed glkclass closed 2 years ago
Following code leads to problems with class iheritance: def __new__(cls): return super(CoverPoint, cls).__new__(CoverPoint) Better to use: def __new__(cls): return super(CoverPoint, cls).__new__(cls) which should make code more generic.
def __new__(cls): return super(CoverPoint, cls).__new__(CoverPoint)
def __new__(cls): return super(CoverPoint, cls).__new__(cls)
Following code leads to problems with class iheritance:
def __new__(cls): return super(CoverPoint, cls).__new__(CoverPoint)
Better to use:def __new__(cls): return super(CoverPoint, cls).__new__(cls)
which should make code more generic.