From 569fc96f99db02e7b16eb0587031469d08caa719 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 2 Apr 2009 02:00:01 +0000 Subject: Fix test_doctest, missed two assignments to curframe. --- Lib/pdb.py | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v0.12