X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=gdb%2Fpython%2Flib%2Fgdb%2Fprompt.py;h=be201314612595b258b797eaddf511f5caa88c78;hb=9a27f2c60d760a95a27e336750f26f69f91dd156;hp=1f49b54888e605fc8f70475466f0304a80901ac5;hpb=b8b98ad1fc2f79814b32a8dc71763b24a8d8a0ec;p=binutils-gdb.git diff --git a/gdb/python/lib/gdb/prompt.py b/gdb/python/lib/gdb/prompt.py index 1f49b54888e..be201314612 100644 --- a/gdb/python/lib/gdb/prompt.py +++ b/gdb/python/lib/gdb/prompt.py @@ -98,8 +98,7 @@ def prompt_help(): functions.""" result = '' - keys = prompt_substitutions.keys() - keys.sort() + keys = sorted (prompt_substitutions.keys()) for key in keys: result += ' \\%s\t%s\n' % (key, prompt_substitutions[key].__doc__) result += """