Issue #19076: Don't pass the redundant 'file' argument to self.error().
This commit is contained in:
parent
4bfb14ac10
commit
ad5ffd4767
|
@ -673,7 +673,7 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
||||||
# now set the break point
|
# now set the break point
|
||||||
err = self.set_break(filename, line, temporary, cond, funcname)
|
err = self.set_break(filename, line, temporary, cond, funcname)
|
||||||
if err:
|
if err:
|
||||||
self.error(err, file=self.stdout)
|
self.error(err)
|
||||||
else:
|
else:
|
||||||
bp = self.get_breaks(filename, line)[-1]
|
bp = self.get_breaks(filename, line)[-1]
|
||||||
self.message("Breakpoint %d at %s:%d" %
|
self.message("Breakpoint %d at %s:%d" %
|
||||||
|
|
|
@ -27,6 +27,8 @@ Core and Builtins
|
||||||
Library
|
Library
|
||||||
-------
|
-------
|
||||||
|
|
||||||
|
- Issue #19076: Don't pass the redundant 'file' argument to self.error().
|
||||||
|
|
||||||
- Issue #21942: Fixed source file viewing in pydoc's server mode on Windows.
|
- Issue #21942: Fixed source file viewing in pydoc's server mode on Windows.
|
||||||
|
|
||||||
- Issue #11259: asynchat.async_chat().set_terminator() now raises a ValueError
|
- Issue #11259: asynchat.async_chat().set_terminator() now raises a ValueError
|
||||||
|
|
Loading…
Reference in New Issue