code: def register_instance(self, instance, allow_dotted_names=False):
          
  
          self.instance = instance
          self.allow_dotted_names = allow_dotted_names
docs: Registers an instance to respond to XML-RPC requests.
  
          Only one instance can be installed at a time.
  
          If the registered instance has a _dispatch method then that
          method will be called with the name of the XML-RPC method and
          its parameters as a tuple
          e.g. instance._dispatch('add',(2,3))
  
          If the registered instance does not have a _dispatch method
          then the instance will be searched to find a matching method
          and, if found, will be called. Methods beginning with an '_'
          are considered private and will not be called by
          SimpleXMLRPCServer.
  
          If a registered function matches a XML-RPC request, then it
          will be called instead of the registered instance.
  
          If the optional allow_dotted_names argument is true and the
          instance does not have a _dispatch method, method names
          containing dots are supported and resolved, as long as none of
          the name segments start with an '_'.
  
              *** SECURITY WARNING: ***
  
              Enabling the allow_dotted_names options allows intruders
              to access your module's global variables and may allow
              intruders to execute arbitrary code on your machine.  Only
              use this option on a secure, closed network.