projects
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add support for Python 3.
[binutils-gdb.git]
/
gdb
/
python
/
lib
/
gdb
/
prompt.py
diff --git
a/gdb/python/lib/gdb/prompt.py
b/gdb/python/lib/gdb/prompt.py
index 1f49b54888e605fc8f70475466f0304a80901ac5..be201314612595b258b797eaddf511f5caa88c78 100644
(file)
--- 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 += """