<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def _next_class(cls):
 """ Multi-subclasses should use the parent class """

        return next(
            class_
            for class_ in cls.__mro__
            if not issubclass(class_, Multi)
        )