We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e61cc31 commit 5d59ce1Copy full SHA for 5d59ce1
Lib/pdb.py
@@ -2682,7 +2682,7 @@ def do_interact(self, arg):
2682
# to start treating all input as Python commands, not PDB ones.
2683
self._interact_state = _InteractState(
2684
compiler=codeop.CommandCompiler(),
2685
- ns={**self.curframe.f_globals, **self.curframe_locals},
+ ns={**self.curframe.f_globals, **self.curframe.f_locals},
2686
)
2687
2688
def do_commands(self, arg):
0 commit comments