diff options
author | Nils Philippsen <nils@redhat.com> | 2015-11-12 13:27:37 +0100 |
---|---|---|
committer | Nils Philippsen <nils@redhat.com> | 2015-11-12 13:27:37 +0100 |
commit | 535e6df5251c2cc433e5c76e55b44f1832451d4e (patch) | |
tree | d257ee9f3ec398c41056ff7ce505eff583f5da50 | |
parent | 64f24fe3e7ac7a1beb1f0fbb80c355e39127182c (diff) | |
download | paste-535e6df5251c2cc433e5c76e55b44f1832451d4e.tar.gz |
Python 3: use compatible print syntax in example textpy3k
-rw-r--r-- | tests/test_template.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/test_template.txt b/tests/test_template.txt index 45a85e2..f3466f2 100644 --- a/tests/test_template.txt +++ b/tests/test_template.txt @@ -97,8 +97,8 @@ in Python, but it's more useful in templates generally):: ... elif item == 'orange': ... assert loop.last ... if loop.first_group(lambda i: i[0].upper()): - ... print '%s:' % item[0].upper() - ... print loop.number, item + ... print('%s:' % item[0].upper()) + ... print("%s %s" % (loop.number, item)) A: 1 apple 2 asparagus |