def __getattr__()

in chartify/_core/colour.py [0:0]


    def __getattr__(self, label):
        if label.startswith("get_"):
            raise AttributeError("'%s' not found" % label)
        try:
            return getattr(self, "get_" + label)()
        except AttributeError:
            raise AttributeError("'%s' not found" % label)