summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorThomas Wouters <thomas@python.org>2006-04-21 16:44:05 (GMT)
committerThomas Wouters <thomas@python.org>2006-04-21 16:44:05 (GMT)
commitd4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff (patch)
treecbb873ade20466ec7aef5e210428af8a6f929c37 /Lib
parent13247bfc8bd35cedcb44a3a8ec9d89e7c1a9f7ef (diff)
downloadcpython-d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff.zip
cpython-d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff.tar.gz
cpython-d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff.tar.bz2
Merge with trunk up to revision 45620.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/SimpleXMLRPCServer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/SimpleXMLRPCServer.py b/Lib/SimpleXMLRPCServer.py
index a0b44e1..1d4f00f 100644
--- a/Lib/SimpleXMLRPCServer.py
+++ b/Lib/SimpleXMLRPCServer.py
@@ -560,6 +560,7 @@ class CGIXMLRPCRequestHandler(SimpleXMLRPCDispatcher):
self.handle_xmlrpc(request_text)
if __name__ == '__main__':
+ print 'Running XML-RPC server on port 8000'
server = SimpleXMLRPCServer(("localhost", 8000))
server.register_function(pow)
server.register_function(lambda x,y: x+y, 'add')