diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-09-11 21:21:12 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-09-11 21:21:12 (GMT) |
commit | 14f9f7df74dae1f10bd81ffaf3fab088fa785132 (patch) | |
tree | 73d1a9e87b7250dd9b49c86ae89c236c4aca59fa /Lib/pdb.py | |
parent | ef8a8beab140ab41f06993ade1117a87017e3d2c (diff) | |
download | cpython-14f9f7df74dae1f10bd81ffaf3fab088fa785132.zip cpython-14f9f7df74dae1f10bd81ffaf3fab088fa785132.tar.gz cpython-14f9f7df74dae1f10bd81ffaf3fab088fa785132.tar.bz2 |
Merged revisions 74741 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r74741 | benjamin.peterson | 2009-09-11 16:17:13 -0500 (Fri, 11 Sep 2009) | 1 line
#6888 fix the alias command with no arguments
........
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -841,8 +841,7 @@ class Pdb(bdb.Bdb, cmd.Cmd): def do_alias(self, arg): args = arg.split() if len(args) == 0: - keys = self.aliases.keys() - keys.sort() + keys = sorted(self.aliases.keys()) for alias in keys: print("%s = %s" % (alias, self.aliases[alias]), file=self.stdout) return |