summaryrefslogtreecommitdiffstats
path: root/Lib/SimpleXMLRPCServer.py
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2014-01-13 00:04:08 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2014-01-13 00:04:08 (GMT)
commit011097395b8198f0a0bdd57a4fafecf17d1288a4 (patch)
tree33fbdb40c405fcbf4b4a1825d001c9ffb271b946 /Lib/SimpleXMLRPCServer.py
parente198692c3985a24ca31cd95f0433c2423493c863 (diff)
downloadcpython-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.py1
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()