summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1999-01-25 20:56:33 (GMT)
committerGuido van Rossum <guido@python.org>1999-01-25 20:56:33 (GMT)
commit0189c010c30d62147793057b83eb539592e117bd (patch)
tree801e958275469e55c493b1e3a637ca6fbfb7ecac /Lib
parent816a9fbd2cbf85ac91763ce6f75e1f939ab0738e (diff)
downloadcpython-0189c010c30d62147793057b83eb539592e117bd.zip
cpython-0189c010c30d62147793057b83eb539592e117bd.tar.gz
cpython-0189c010c30d62147793057b83eb539592e117bd.tar.bz2
Correct typo in new function get_breaks().
Diffstat (limited to 'Lib')
-rw-r--r--Lib/bdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bdb.py b/Lib/bdb.py
index bc38607..9fbd844 100644
--- a/Lib/bdb.py
+++ b/Lib/bdb.py
@@ -255,7 +255,7 @@ class Bdb:
def get_breaks(self, filename, lineno):
return self.breaks.has_key(filename) and \
lineno in self.breaks[filename] and \
- Breakpoint.bplist[filename, line] or []
+ Breakpoint.bplist[filename, lineno] or []
def get_file_breaks(self, filename):
if self.breaks.has_key(filename):