Skip to content

Commit 5d59ce1

Browse files
committed
Don't use deprecated method
1 parent e61cc31 commit 5d59ce1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/pdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2682,7 +2682,7 @@ def do_interact(self, arg):
26822682
# to start treating all input as Python commands, not PDB ones.
26832683
self._interact_state = _InteractState(
26842684
compiler=codeop.CommandCompiler(),
2685-
ns={**self.curframe.f_globals, **self.curframe_locals},
2685+
ns={**self.curframe.f_globals, **self.curframe.f_locals},
26862686
)
26872687

26882688
def do_commands(self, arg):

0 commit comments

Comments
 (0)