def get_class_bases(klass):
    """Getting the base classes excluding the type ``object``"""
    bases = klass.__bases__
    if len(bases) == 1 and bases[0] == object:
        return []
    else:
        return list(bases)