def __new__(cls, *args, **kwds):
        assert cls is not BasePattern, "Cannot instantiate BasePattern"
        return object.__new__(cls)
Constructor that prevents BasePattern from being instantiated.
dataset/ETHPy150Open ctxis/canape/CANAPE.Scripting/Lib/lib2to3/pytree.py/BasePattern.__new__