code: def rn(op, rc=None, r=None):
      # pylint: disable=redefined-outer-name, invalid-name
      
  
      return CONN.ReferenceNames(op,
                                 ResultClass=rc,
                                 Role=r)
docs: This function is a wrapper for
      :meth:`~pywbem.WBEMConnection.ReferenceNames`.
  
      Instance-level use: Retrieve the instance paths of the association
      instances referencing a source instance.
  
      Class-level use: Retrieve the class paths of the association classes
      referencing a source class.
  
      Parameters:
  
        op (:class:`~pywbem.CIMInstanceName`):
            Source instance path; select instance-level use.
  
        op (:class:`~pywbem.CIMClassName`):
            Source class path; select class-level use.
  
        rc (:term:`string`):
            ResultClass filter: Include only traversals across this association
            (result) class.
  
            `None` means this filter is not applied.
  
        r (:term:`string`):
            Role filter: Include only traversals from this role (= reference
            name) in source object.
  
            `None` means this filter is not applied.
  
      Returns:
  
        list of result objects:
  
          * For instance-level use, a list of :class:`~pywbem.CIMInstanceName`
            objects representing the retrieved instance paths, with their
            attributes set as follows:
  
            * `classname`: Name of the creation class of the instance.
            * `keybindings`: Keybindings of the instance.
            * `namespace`: Name of the CIM namespace containing the instance.
            * `host`: Host and optionally port of the WBEM server containing
              the CIM namespace, or `None` if the server did not return host
              information.
  
          * For class-level use, a list of :class:`~pywbem.CIMClassName` objects
            representing the retrieved class paths, with their attributes set as
            follows:
  
            * `classname`: Name of the class.
            * `namespace`: Name of the CIM namespace containing the class.
            * `host`: Host and optionally port of the WBEM server containing
              the CIM namespace, or `None` if the server did not return host
              information.