diff options
Diffstat (limited to 'paste/util/looper.py')
-rw-r--r-- | paste/util/looper.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/paste/util/looper.py b/paste/util/looper.py index 8116323..efe7fdf 100644 --- a/paste/util/looper.py +++ b/paste/util/looper.py @@ -7,9 +7,9 @@ These can be awkward to manage in a normal Python loop, but using the looper you can get a better sense of the context. Use like:: >>> for loop, item in looper(['a', 'b', 'c']): - ... print loop.number, item + ... print(loop.number, item) ... if not loop.last: - ... print '---' + ... print('---') 1 a --- 2 b |