def METHOD_NAME(cls):
    """ returns a list of all subclasses of cls """
    return cls.__subclasses__() + [g for s in cls.__subclasses__()
                                   for g in METHOD_NAME(s)]