def getClsNames(item):
    '''
    Return a list of "fully qualified" class names for an instance.

    Example:

        for name in getClsNames(foo):
            print(name)

    '''
    mro = inspect.getmro(item.__class__)
    mro = [c for c in mro if c not in clsskip]
    return ['%s.%s' % (c.__module__, c.__name__) for c in mro]
def getClsNames ( item ) : mro = inspect . getmro ( item . __class__ ) mro = [ c for c in mro if c not in clsskip ] return [ '%s.%s' % ( c . __module__ , c . __name__ ) for c in mro ]
Return a list of "fully qualified" class names for an instance.

    Example:

        for name in getClsNames(foo):
            print(name)