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.)
diff --git a/Lib/heapq.py b/Lib/heapq.py
index 753c3b7..9ab4c99 100644
--- a/Lib/heapq.py
+++ b/Lib/heapq.py
@@ -340,4 +340,4 @@
sort = []
while heap:
sort.append(heappop(heap))
- print sort
+ print(sort)