From: Georg Brandl Date: Thu, 2 Apr 2009 02:00:01 +0000 (+0000) Subject: Fix test_doctest, missed two assignments to curframe. X-Git-Tag: v2.7a1~1612 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=569fc96f99db02e7b16eb0587031469d08caa719;p=python Fix test_doctest, missed two assignments to curframe. --- diff --git a/Lib/pdb.py b/Lib/pdb.py index 8b747e714a..b00bbae456 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