Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
diff --git a/Lib/pdb.py b/Lib/pdb.py
index a6355ec..d77ea28 100755
--- a/Lib/pdb.py
+++ b/Lib/pdb.py
@@ -500,7 +500,8 @@
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 @@
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