code: def get_classname(o):
      
      if inspect.isclass(o):
          target = o
      elif callable(o):
          target = o
      else:
          target = o.__class__
      try:
          return target.__qualname__
      except AttributeError:  # pragma: no cover
          return target.__name__
docs: Returns the classname of an object r a class
  
      :param o:
      :return: