Home
last modified time | relevance | path

Searched refs:register_function (Results 1 – 13 of 13) sorted by relevance

/external/python/cpython3/Doc/library/
Dxmlrpc.server.rst82 .. method:: SimpleXMLRPCServer.register_function(function=None, name=None)
94 :meth:`register_function` can be used as a decorator.
100 registered using :meth:`register_function`. If *instance* contains a
163 server.register_function(pow)
168 server.register_function(adder_function, 'add')
194 :meth:`register_function` can also be used as a decorator. The previous server
209 server.register_function(pow)
212 # register_function as a decorator. *name* can only be given
214 @server.register_function(name='add')
219 @server.register_function
[all …]
Dxmlrpc.client.rst236 server.register_function(is_even, "is_even")
285 server.register_function(today, "today")
350 server.register_function(python_logo, 'python_logo')
394 server.register_function(add, 'add')
498 server.register_function(add, 'add')
499 server.register_function(subtract, 'subtract')
500 server.register_function(multiply, 'multiply')
501 server.register_function(divide, 'divide')
/external/python/cpython2/Doc/library/
Dsimplexmlrpcserver.rst78 .. method:: SimpleXMLRPCServer.register_function(function[, name])
90 registered using :meth:`register_function`. If *instance* contains a
169 server.register_function(pow)
174 server.register_function(adder_function, 'add')
204 server.register_function(pow)
205 server.register_function(lambda x,y: x+y, 'add')
240 .. method:: CGIXMLRPCRequestHandler.register_function(function[, name])
252 registered using :meth:`register_function`. If instance contains a
286 handler.register_function(pow)
287 handler.register_function(lambda x,y: x+y, 'add')
Dxmlrpclib.rst242 server.register_function(is_even, "is_even")
291 server.register_function(today, "today")
356 server.register_function(python_logo, 'python_logo')
400 server.register_function(add, 'add')
506 server.register_function(add, 'add')
507 server.register_function(subtract, 'subtract')
508 server.register_function(multiply, 'multiply')
509 server.register_function(divide, 'divide')
/external/python/cpython3/Lib/test/
Dtest_docxmlrpc.py58 serv.register_function(add)
59 serv.register_function(lambda x, y: x-y)
60 serv.register_function(annotation)
Dtest_xmlrpc.py363 dispatcher.register_function(dispatched_func)
414 dispatcher.register_function(None, name='method')
621 serv.register_function(pow)
622 serv.register_function(lambda x: x, 'têšt')
623 @serv.register_function
627 @serv.register_function(name='add')
694 serv.get_dispatcher(paths[0]).register_function(pow)
695 serv.get_dispatcher(paths[1]).register_function(lambda x,y: x+y, 'add')
1374 handler.register_function(foobar)
/external/python/cpython2/Lib/test/
Dtest_docxmlrpc.py50 serv.register_function(add)
51 serv.register_function(lambda x, y: x-y)
Dtest_xmlrpc.py354 serv.register_function(pow)
355 serv.register_function(lambda x,y: x+y, 'add')
356 serv.register_function(lambda x: x, test_support.u(r't\xea\u0161t'))
357 serv.register_function(my_function)
417 serv.get_dispatcher(paths[0]).register_function(pow)
418 serv.get_dispatcher(paths[1]).register_function(lambda x,y: x+y, 'add')
/external/python/cpython2/Lib/
DSimpleXMLRPCServer.py211 def register_function(self, function, name = None): member in SimpleXMLRPCDispatcher
705 server.register_function(pow)
706 server.register_function(lambda x,y: x+y, 'add')
/external/python/cpython3/Lib/xmlrpc/
Dserver.py208 def register_function(self, function=None, name=None): member in SimpleXMLRPCDispatcher
216 return partial(self.register_function, name=name)
982 server.register_function(pow)
983 server.register_function(lambda x,y: x+y, 'add')
/external/clang/bindings/python/clang/
Dcindex.py3593 def register_function(lib, item, ignore_errors): function
3622 return register_function(lib, item, ignore_errors)
/external/python/cpython3/Doc/whatsnew/
D3.7.rst1606 :meth:`SimpleXMLRPCDispatcher.register_function <xmlrpc.server.SimpleXMLRPCDispatcher>`
/external/python/cpython3/Misc/NEWS.d/
D3.7.0a1.rst3360 Method register_function() of xmlrpc.server.SimpleXMLRPCDispatcher and its