summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorJohannes Gijsbers <jlg@dds.nl>2004-08-14 15:19:28 (GMT)
committerJohannes Gijsbers <jlg@dds.nl>2004-08-14 15:19:28 (GMT)
commit34c4120731b498663e38edc4d975d4a8c3071da0 (patch)
treefb86aa6c4c7dc082878b623c10f23aed281cb7ce /Lib
parent4ec40648a56b661ca78f795aa0718836b6020e1b (diff)
downloadcpython-34c4120731b498663e38edc4d975d4a8c3071da0.zip
cpython-34c4120731b498663e38edc4d975d4a8c3071da0.tar.gz
cpython-34c4120731b498663e38edc4d975d4a8c3071da0.tar.bz2
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.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/pdb.doc4
-rwxr-xr-xLib/pdb.py4
2 files changed, 4 insertions, 4 deletions
diff --git a/Lib/pdb.doc b/Lib/pdb.doc
index 3beb0c2..81df323 100644
--- a/Lib/pdb.doc
+++ b/Lib/pdb.doc
@@ -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
diff --git a/Lib/pdb.py b/Lib/pdb.py
index b35164c..58de097 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -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()