diff options
author | Senthil Kumaran <senthil@uthcode.com> | 2014-01-13 00:04:08 (GMT) |
---|---|---|
committer | Senthil Kumaran <senthil@uthcode.com> | 2014-01-13 00:04:08 (GMT) |
commit | 011097395b8198f0a0bdd57a4fafecf17d1288a4 (patch) | |
tree | 33fbdb40c405fcbf4b4a1825d001c9ffb271b946 /Lib/SimpleXMLRPCServer.py | |
parent | e198692c3985a24ca31cd95f0433c2423493c863 (diff) | |
download | cpython-011097395b8198f0a0bdd57a4fafecf17d1288a4.zip cpython-011097395b8198f0a0bdd57a4fafecf17d1288a4.tar.gz cpython-011097395b8198f0a0bdd57a4fafecf17d1288a4.tar.bz2 |
Issue #19082: Working SimpleXMLRPCServer and xmlrpclib examples, both in modules and documentation.
Diffstat (limited to 'Lib/SimpleXMLRPCServer.py')
-rw-r--r-- | Lib/SimpleXMLRPCServer.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/SimpleXMLRPCServer.py b/Lib/SimpleXMLRPCServer.py index f15cd62..fcc3d2e 100644 --- a/Lib/SimpleXMLRPCServer.py +++ b/Lib/SimpleXMLRPCServer.py @@ -704,4 +704,5 @@ if __name__ == '__main__': server = SimpleXMLRPCServer(("localhost", 8000)) server.register_function(pow) server.register_function(lambda x,y: x+y, 'add') + server.register_multicall_functions() server.serve_forever() |