summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-04-02 02:00:01 (GMT)
committerGeorg Brandl <georg@python.org>2009-04-02 02:00:01 (GMT)
commit569fc96f99db02e7b16eb0587031469d08caa719 (patch)
treefbb51ea38f708e81b5dde4aca50c6af1b8dadbfa /Lib
parent3633c4f7d24d07b1610ed39080e4bce79fd332db (diff)
downloadcpython-569fc96f99db02e7b16eb0587031469d08caa719.zip
cpython-569fc96f99db02e7b16eb0587031469d08caa719.tar.gz
cpython-569fc96f99db02e7b16eb0587031469d08caa719.tar.bz2
Fix test_doctest, missed two assignments to curframe.
Diffstat (limited to 'Lib')
-rwxr-xr-xLib/pdb.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index 8b747e7..b00bbae 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -616,6 +616,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
else:
self.curindex = self.curindex - 1
self.curframe = self.stack[self.curindex][0]
+ self.curframe_locals = self.curframe.f_locals
self.print_stack_entry(self.stack[self.curindex])
self.lineno = None
do_u = do_up
@@ -626,6 +627,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
else:
self.curindex = self.curindex + 1
self.curframe = self.stack[self.curindex][0]
+ self.curframe_locals = self.curframe.f_locals
self.print_stack_entry(self.stack[self.curindex])
self.lineno = None
do_d = do_down