def register_function(self, function, name=None):

        if name is None:
            name = function.__name__
        self.funcs[name] = function
Registers a function to respond to XML-RPC requests.
dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/xmlrpc/server.py/SimpleXMLRPCDispatcher.register_function