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
........
diff --git a/Lib/pdb.py b/Lib/pdb.py
index e272f2e..627cd29 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -841,8 +841,7 @@
     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