summaryrefslogtreecommitdiffstats
path: root/Lib/pdb.py
diff options
context:
space:
mode:
authorBerker Peksag <berker.peksag@gmail.com>2014-07-12 15:24:32 (GMT)
committerBerker Peksag <berker.peksag@gmail.com>2014-07-12 15:24:32 (GMT)
commitad5ffd4767802dfc34e3ae2d7960f1610d58cdcc (patch)
tree0d365b89bdac8e399317dd076b0bdcfa89d9d8d0 /Lib/pdb.py
parent4bfb14ac10eef86652142879d02e7601d1cf6490 (diff)
downloadcpython-ad5ffd4767802dfc34e3ae2d7960f1610d58cdcc.zip
cpython-ad5ffd4767802dfc34e3ae2d7960f1610d58cdcc.tar.gz
cpython-ad5ffd4767802dfc34e3ae2d7960f1610d58cdcc.tar.bz2
Issue #19076: Don't pass the redundant 'file' argument to self.error().
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-xLib/pdb.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/pdb.py b/Lib/pdb.py
index dd7ceb8..42e605e 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -673,7 +673,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
# now set the break point
err = self.set_break(filename, line, temporary, cond, funcname)
if err:
- self.error(err, file=self.stdout)
+ self.error(err)
else:
bp = self.get_breaks(filename, line)[-1]
self.message("Breakpoint %d at %s:%d" %