mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Fix yet another stray 2.x-ism (maybe merged?).
This commit is contained in:
parent
3b7210d336
commit
d4ee167b83
1 changed files with 1 additions and 2 deletions
|
@ -280,8 +280,7 @@ Common commands: (see '--help-commands' for more)
|
|||
from pprint import pformat
|
||||
|
||||
if commands is None: # dump all command option dicts
|
||||
commands = self.command_options.keys()
|
||||
commands.sort()
|
||||
commands = sorted(self.command_options.keys())
|
||||
|
||||
if header is not None:
|
||||
print(indent + header)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue