@staticmethod
    def _bases(cls, names):
        """ Helper for :meth:`get_trait_typenames`. """
        names.append('%s.%s' % (cls.__module__, cls.__name__))
        for base in cls.__bases__:
            Container._bases(base, names)
dataset/ETHPy150Open OpenMDAO/OpenMDAO-Framework/openmdao.main/src/openmdao/main/container.py/Container._bases/original