code: def _iparam_classname(classname, arg_name):
          
  
          if isinstance(classname, CIMClassName):
              classname = classname.copy()
              classname.host = None
              classname.namespace = None
          elif isinstance(classname, six.string_types):
              classname = CIMClassName(classname)
          elif classname is None:
              pass
          else:
              raise TypeError(
                  _format("The {0!A} argument of the WBEMConnection operation "
                          "has invalid type {1} (must be None, a string, or a "
                          "CIMClassName)",
                          arg_name, type(classname)))
          return classname
docs: Convert a class name specified in an operation method into a CIM
          object that can be passed to imethodcall().