mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Merge with trunk up to revision 45620.
This commit is contained in:
parent
13247bfc8b
commit
d4ec0c3e2c
23 changed files with 141 additions and 115 deletions
|
@ -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')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue