<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def bases_walker(cls):
 """ Loop through all bases of cls True True :param cls: The class in which we want to loop through the base classes. """

    for base in cls.__bases__:
        yield base
        for more in bases_walker(base):
            yield more