summaryrefslogtreecommitdiffstats
path: root/Lib/xmlrpc/server.py
diff options
context:
space:
mode:
authorFlorent Xicluna <florent.xicluna@gmail.com>2011-10-30 19:19:32 (GMT)
committerFlorent Xicluna <florent.xicluna@gmail.com>2011-10-30 19:19:32 (GMT)
commitc4fec937dcb70175fb0a0e772563a35ebba2d1c6 (patch)
tree6050520946ab47291ac2eccbe4d37b5b34130cce /Lib/xmlrpc/server.py
parent3fa29f7cd77970df2d85db3e7565cf0ad2548883 (diff)
downloadcpython-c4fec937dcb70175fb0a0e772563a35ebba2d1c6.zip
cpython-c4fec937dcb70175fb0a0e772563a35ebba2d1c6.tar.gz
cpython-c4fec937dcb70175fb0a0e772563a35ebba2d1c6.tar.bz2
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.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/xmlrpc/server.py b/Lib/xmlrpc/server.py
index 9d93b1c7..72f3bfc 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.
"""