parameters: (cls)
return_statement: return cls.__mro__
docstring: Get an mro for a type or classic class
docstring_summary: Get an mro for a type or classic class
docstring_tokens: Get an mro for a type or classic class
function: def _get_mro(cls):
      """Get an mro for a type or classic class"""
      if not isinstance(cls, type):
          class cls(cls, object): pass
          return cls.__mro__[1:]
      return cls.__mro__
function_tokens: def _get_mro ( cls ) : if not isinstance ( cls , type ) : class cls ( cls , object ) : pass return cls . __mro__ [ 1 : ] return cls . __mro__