diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2008-05-13 04:55:24 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2008-05-13 04:55:24 (GMT) |
commit | 752abd0d3cc66f84f551650b8424248b202a16a4 (patch) | |
tree | f5302f8a246115f3f61a1414a94c8d2ce12a3a01 /Lib/pdb.py | |
parent | 8321f978918e3ae4de18672770c6504dcae82343 (diff) | |
download | cpython-752abd0d3cc66f84f551650b8424248b202a16a4.zip cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.gz cpython-752abd0d3cc66f84f551650b8424248b202a16a4.tar.bz2 |
Convert a lot of print statements to print functions in docstrings,
documentation, and unused/rarely used functions.
Diffstat (limited to 'Lib/pdb.py')
-rwxr-xr-x | Lib/pdb.py | 6 |
1 files changed, 4 insertions, 2 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 |