diff options
-rwxr-xr-x | Lib/pdb.py | 3 | ||||
-rw-r--r-- | Misc/NEWS | 2 |
2 files changed, 3 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 @@ -70,6 +70,8 @@ C-API Library ------- +- Issue #6888: pdb's alias command was broken when no arguments were given. + - Issue #6857: Default format() alignment should be '>' for Decimal instances. |