mirror of
https://github.com/python/cpython.git
synced 2025-07-30 06:34:15 +00:00
Remove a 2.2-ism.
This commit is contained in:
parent
61927fc049
commit
8c3d0f7839
1 changed files with 1 additions and 2 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue