Commit 34c41207 authored by Johannes Gijsbers's avatar Johannes Gijsbers

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.
parent 4ec40648
...@@ -70,11 +70,11 @@ w(here) ...@@ -70,11 +70,11 @@ w(here)
d(own) d(own)
Move the current frame one level down in the stack trace Move the current frame one level down in the stack trace
(to an older frame). (to a newer frame).
u(p) u(p)
Move the current frame one level up in the stack trace 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] ] b(reak) [ ([filename:]lineno | function) [, condition] ]
With a filename:line number argument, set a break there. If With a filename:line number argument, set a break there. If
......
...@@ -755,7 +755,7 @@ context of most commands. 'bt' is an alias for this command.""" ...@@ -755,7 +755,7 @@ context of most commands. 'bt' is an alias for this command."""
def help_d(self): def help_d(self):
print """d(own) print """d(own)
Move the current frame one level down in the stack trace Move the current frame one level down in the stack trace
(to an older frame).""" (to a newer frame)."""
def help_up(self): def help_up(self):
self.help_u() self.help_u()
...@@ -763,7 +763,7 @@ Move the current frame one level down in the stack trace ...@@ -763,7 +763,7 @@ Move the current frame one level down in the stack trace
def help_u(self): def help_u(self):
print """u(p) print """u(p)
Move the current frame one level up in the stack trace Move the current frame one level up in the stack trace
(to a newer frame).""" (to an older frame)."""
def help_break(self): def help_break(self):
self.help_b() self.help_b()
......
...@@ -41,6 +41,10 @@ Extension modules ...@@ -41,6 +41,10 @@ Extension modules
Library 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 - 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 path, as normalizing the path may alter the meaning of the path if it
contains symlinks. contains symlinks.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment