summaryrefslogtreecommitdiff
path: root/fancy_getopt.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
commit4e0a58cc6113aa5ab73196de13b16d500ff46fe6 (patch)
tree3b36090ceef08966144c1efd1233869774678314 /fancy_getopt.py
parentba04afa355a9b33a8dc4e52e11de3b11cae13afd (diff)
downloadpython-setuptools-git-4e0a58cc6113aa5ab73196de13b16d500ff46fe6.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 'fancy_getopt.py')
-rw-r--r--fancy_getopt.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/fancy_getopt.py b/fancy_getopt.py
index 62a24e85..646f8e1e 100644
--- a/fancy_getopt.py
+++ b/fancy_getopt.py
@@ -497,6 +497,6 @@ How *do* you spell that odd word, anyways?
say, "How should I know?"].)"""
for w in (10, 20, 30, 40):
- print "width: %d" % w
- print string.join(wrap_text(text, w), "\n")
- print
+ print("width: %d" % w)
+ print(string.join(wrap_text(text, w), "\n"))
+ print()