Convert a lot of print statements to print functions in docstrings,

documentation, and unused/rarely used functions.
This commit is contained in:
Neal Norwitz 2008-05-13 04:55:24 +00:00
parent 8321f97891
commit 752abd0d3c
20 changed files with 53 additions and 50 deletions

View file

@ -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