[Python-checkins] r45604 - python/trunk/Lib/SimpleXMLRPCServer.py
andrew.kuchling
python-checkins at python.org
Fri Apr 21 14:57:35 CEST 2006
Author: andrew.kuchling
Date: Fri Apr 21 14:57:35 2006
New Revision: 45604
Modified:
python/trunk/Lib/SimpleXMLRPCServer.py
Log:
Add explanatory message
Modified: python/trunk/Lib/SimpleXMLRPCServer.py
==============================================================================
--- python/trunk/Lib/SimpleXMLRPCServer.py (original)
+++ python/trunk/Lib/SimpleXMLRPCServer.py Fri Apr 21 14:57:35 2006
@@ -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')
More information about the Python-checkins
mailing list