@classmethod
def get_name(cls):
    " Default implementation of a function that returns a class's name. "
    if cls.ACCESSORY_NAME:
        return cls.ACCESSORY_NAME
    return cls.__name__
Default implementation of a function that returns a class's name.
@classmethod
def get_name(cls):
    "  "
    if cls.ACCESSORY_NAME:
        return cls.ACCESSORY_NAME
    return cls.__name__