diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2011-10-30 20:19:32 +0100 |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2011-10-30 20:19:32 +0100 |
commit | c4fec937dcb70175fb0a0e772563a35ebba2d1c6 (patch) | |
tree | 6050520946ab47291ac2eccbe4d37b5b34130cce /Lib/xmlrpc/server.py | |
parent | 3fa29f7cd77970df2d85db3e7565cf0ad2548883 (diff) | |
download | cpython-git-c4fec937dcb70175fb0a0e772563a35ebba2d1c6.tar.gz |
Cleanup xmlrpc: remove obsolete comments, unused imports. Add test for bytes marshalling.
Diffstat (limited to 'Lib/xmlrpc/server.py')
-rw-r--r-- | Lib/xmlrpc/server.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py index 9d93b1c7fb..72f3bfc104 100644 --- a/Lib/xmlrpc/server.py +++ b/Lib/xmlrpc/server.py @@ -329,7 +329,6 @@ class SimpleXMLRPCDispatcher: if method is None: return "" else: - import pydoc return pydoc.getdoc(method) def system_multicall(self, call_list): @@ -560,7 +559,7 @@ class SimpleXMLRPCServer(socketserver.TCPServer, Simple XML-RPC server that allows functions and a single instance to be installed to handle requests. The default implementation attempts to dispatch XML-RPC calls to the functions or instance - installed in the server. Override the _dispatch method inhereted + installed in the server. Override the _dispatch method inherited from SimpleXMLRPCDispatcher to change this behavior. """ |