mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
This commit is contained in:
parent
8321f97891
commit
752abd0d3c
20 changed files with 53 additions and 50 deletions
|
@ -500,7 +500,8 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
try:
|
||||
bp = bdb.Breakpoint.bpbynumber[bpnum]
|
||||
except IndexError:
|
||||
print >>self.stdout, 'Breakpoint index %r is not valid' % args[0]
|
||||
print('Breakpoint index %r is not valid' % args[0],
|
||||
file=self.stdout)
|
||||
return
|
||||
if bp:
|
||||
bp.cond = cond
|
||||
|
@ -524,7 +525,8 @@ class Pdb(bdb.Bdb, cmd.Cmd):
|
|||
try:
|
||||
bp = bdb.Breakpoint.bpbynumber[bpnum]
|
||||
except IndexError:
|
||||
print >>self.stdout, 'Breakpoint index %r is not valid' % args[0]
|
||||
print('Breakpoint index %r is not valid' % args[0],
|
||||
file=self.stdout)
|
||||
return
|
||||
if bp:
|
||||
bp.ignore = count
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue