diff options
author | Thomas Wouters <thomas@python.org> | 2006-04-21 16:44:05 (GMT) |
---|---|---|
committer | Thomas Wouters <thomas@python.org> | 2006-04-21 16:44:05 (GMT) |
commit | d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff (patch) | |
tree | cbb873ade20466ec7aef5e210428af8a6f929c37 /Lib | |
parent | 13247bfc8bd35cedcb44a3a8ec9d89e7c1a9f7ef (diff) | |
download | cpython-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.py | 1 |
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') |