mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
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 ........
This commit is contained in:
parent
ef8a8beab1
commit
14f9f7df74
2 changed files with 3 additions and 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
|
||||
|
|
|
|||
|
|
@ -52,6 +52,8 @@ C-API
|
|||
Library
|
||||
-------
|
||||
|
||||
- Issue #6888: pdb's alias command was broken when no arguments were given.
|
||||
|
||||
- Issue #6795: int(Decimal('nan')) now raises ValueError instead of
|
||||
returning NaN or raising InvalidContext. Also, fix infinite recursion
|
||||
in long(Decimal('nan')).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue