Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0189c01

Browse files
committed
Correct typo in new function get_breaks().
1 parent 816a9fb commit 0189c01

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Lib/bdb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ def get_break(self, filename, lineno):
255255
def get_breaks(self, filename, lineno):
256256
return self.breaks.has_key(filename) and \
257257
lineno in self.breaks[filename] and \
258-
Breakpoint.bplist[filename, line] or []
258+
Breakpoint.bplist[filename, lineno] or []
259259

260260
def get_file_breaks(self, filename):
261261
if self.breaks.has_key(filename):

0 commit comments

Comments
 (0)