Mercurial > cpython-lru_cache-weakref
diff Lib/SimpleXMLRPCServer.py @ 37904:06dcdedfc98f
Merge with trunk up to revision 45620.
| author | Thomas Wouters <thomas@python.org> |
|---|---|
| date | Fri, 21 Apr 2006 16:44:05 +0000 |
| parents | f731859e9b3b |
| children | 19fd6141940d |
line wrap: on
line diff
--- a/Lib/SimpleXMLRPCServer.py Fri Apr 21 16:21:44 2006 +0000 +++ b/Lib/SimpleXMLRPCServer.py Fri Apr 21 16:44:05 2006 +0000 @@ -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')
