code: def bases_mro(bases):
      """
      Yield classes in the order that methods should be looked up from the
      base classes of an object.
      """
      for base in bases:
          for class_ in base.__mro__:
              yield class_
  
file_path: catalyst/catalyst/utils/final.py
imports: from abc import ABCMeta, abstractmethod
  from six import with_metaclass, iteritems
label_desc: Use image node_id 1 for calling a global function with example usage: bases_mro(bases) without return types