commit | d4ec0c3e2cbf76fe59c2f2a172fdcac09b3018ff | [log] [tgz] |
---|---|---|
author | Thomas Wouters <thomas@python.org> | Fri Apr 21 16:44:05 2006 +0000 |
committer | Thomas Wouters <thomas@python.org> | Fri Apr 21 16:44:05 2006 +0000 |
tree | cbb873ade20466ec7aef5e210428af8a6f929c37 | |
parent | 13247bfc8bd35cedcb44a3a8ec9d89e7c1a9f7ef [diff] [blame] |
Merge with trunk up to revision 45620.
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 @@ 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')