summaryrefslogtreecommitdiff
path: root/Lib/idlelib/UndoDelegator.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-02-09 05:37:30 +0000
committerGuido van Rossum <guido@python.org>2007-02-09 05:37:30 +0000
commite3092eaa8a5f3da2eb485fb5e49d7c731714ec1e (patch)
tree21847d71ce617166725fb1d94bf90dc6799a1a49 /Lib/idlelib/UndoDelegator.py
parent5139e90991014c04ec72a22dcc2625152ce7e612 (diff)
downloadcpython-e3092eaa8a5f3da2eb485fb5e49d7c731714ec1e.tar.gz
Fix most trivially-findable print statements.
There's one major and one minor category still unfixed: doctests are the major category (and I hope to be able to augment the refactoring tool to refactor bona fide doctests soon); other code generating print statements in strings is the minor category. (Oh, and I don't know if the compiler package works.)
Diffstat (limited to 'Lib/idlelib/UndoDelegator.py')
-rw-r--r--Lib/idlelib/UndoDelegator.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/idlelib/UndoDelegator.py b/Lib/idlelib/UndoDelegator.py
index 182a1170e8..0f95b3bddc 100644
--- a/Lib/idlelib/UndoDelegator.py
+++ b/Lib/idlelib/UndoDelegator.py
@@ -38,10 +38,10 @@ class UndoDelegator(Delegator):
def dump_event(self, event):
from pprint import pprint
pprint(self.undolist[:self.pointer])
- print "pointer:", self.pointer,
- print "saved:", self.saved,
- print "can_merge:", self.can_merge,
- print "get_saved():", self.get_saved()
+ print("pointer:", self.pointer, end=' ')
+ print("saved:", self.saved, end=' ')
+ print("can_merge:", self.can_merge, end=' ')
+ print("get_saved():", self.get_saved())
pprint(self.undolist[self.pointer:])
return "break"