summaryrefslogtreecommitdiffstats
path: root/Lib/DocXMLRPCServer.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-12-10 20:42:53 (GMT)
committerGuido van Rossum <guido@python.org>2007-12-10 20:42:53 (GMT)
commit8c3d0f7839a380d322428b2284e169d156e26736 (patch)
tree462a3865a5c920d18b1f3305153dc13dd2a7a0a3 /Lib/DocXMLRPCServer.py
parent61927fc0492becdc54fa4d23db9f90c79d165206 (diff)
downloadcpython-8c3d0f7839a380d322428b2284e169d156e26736.zip
cpython-8c3d0f7839a380d322428b2284e169d156e26736.tar.gz
cpython-8c3d0f7839a380d322428b2284e169d156e26736.tar.bz2
Remove a 2.2-ism.
Diffstat (limited to 'Lib/DocXMLRPCServer.py')
-rw-r--r--Lib/DocXMLRPCServer.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/DocXMLRPCServer.py b/Lib/DocXMLRPCServer.py
index 00daf39..65b3629 100644
--- a/Lib/DocXMLRPCServer.py
+++ b/Lib/DocXMLRPCServer.py
@@ -123,8 +123,7 @@ class ServerHTMLDoc(pydoc.HTMLDoc):
result = result + '<p>%s</p>\n' % doc
contents = []
- method_items = methods.items()
- method_items.sort()
+ method_items = sorted(methods.items())
for key, value in method_items:
contents.append(self.docroutine(value, key, funcs=fdict))
result = result + self.bigsection(