]> granicus.if.org Git - python/commitdiff
bug #989672: pdb.doc and the help messages for the help_d and help_u methods
authorJohannes Gijsbers <jlg@dds.nl>
Sat, 14 Aug 2004 15:19:28 +0000 (15:19 +0000)
committerJohannes Gijsbers <jlg@dds.nl>
Sat, 14 Aug 2004 15:19:28 +0000 (15:19 +0000)
of the pdb.Pdb class gives have been corrected. d(own) goes to a newer frame,
u(p) to an older frame, not the other way around.

Lib/pdb.doc
Lib/pdb.py
Misc/NEWS

index 3beb0c2b7e518ae5ac1782928900ba6ab0759230..81df3237f69d802926aef60fe7fac1ab6a36a8aa 100644 (file)
@@ -70,11 +70,11 @@ w(here)
 
 d(own)
         Move the current frame one level down in the stack trace
-        (to an older frame).
+        (to a newer frame).
 
 u(p)
         Move the current frame one level up in the stack trace
-        (to a newer frame).
+        (to an older frame).
 
 b(reak) [ ([filename:]lineno | function) [, condition] ]
         With a filename:line number argument, set a break there.  If
index b35164c9ec2a4d62f7150216765ac659a9c42b5e..58de097cfff9a14b48114d934b8ca88238346123 100755 (executable)
@@ -755,7 +755,7 @@ context of most commands.  'bt' is an alias for this command."""
     def help_d(self):
         print """d(own)
 Move the current frame one level down in the stack trace
-(to an older frame)."""
+(to a newer frame)."""
 
     def help_up(self):
         self.help_u()
@@ -763,7 +763,7 @@ Move the current frame one level down in the stack trace
     def help_u(self):
         print """u(p)
 Move the current frame one level up in the stack trace
-(to a newer frame)."""
+(to an older frame)."""
 
     def help_break(self):
         self.help_b()
index ab83648035018c964a11a51f41d14a36f630d554..43e7553dcf72e53bd84d026eb74cbb75c066f08a 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -41,6 +41,10 @@ Extension modules
 Library
 -------
 
+- bug #989672: pdb.doc and the help messages for the help_d and help_u methods
+of the pdb.Pdb class gives have been corrected. d(own) goes to a newer frame,
+u(p) to an older frame, not the other way around.
+
 - bug #990669: os.path.realpath() will resolve symlinks before normalizing the
   path, as normalizing the path may alter the meaning of the path if it
   contains symlinks.