Thanks to visit codestin.com Credit goes to github.com
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 ff02e1d commit 6683617Copy full SHA for 6683617
1 file changed
Lib/bdb.py
@@ -86,16 +86,16 @@ def stop_here(self, frame):
86
return 0
87
88
def break_here(self, frame):
89
- filename=frame.f_code.co_filename
+ filename=frame.f_code.co_filename
90
if not self.breaks.has_key(filename):
91
92
lineno=frame.f_lineno
93
if not lineno in self.breaks[filename]:
94
95
if self.cbreaks.has_key((filename, lineno)):
96
- cond=self.cbreaks[filename, lineno]
97
- return eval(cond, frame.f_globals,
98
- frame.f_locals)
+ cond=self.cbreaks[filename, lineno]
+ return eval(cond, frame.f_globals,
+ frame.f_locals)
99
return 1
100
101
def break_anywhere(self, frame):
0 commit comments