Kaydet (Commit) 8c3d0f78 authored tarafından Guido van Rossum's avatar Guido van Rossum

Remove a 2.2-ism.

üst 61927fc0
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment