Sitelet https://github.com/feigouhai/python-patterns/commit/0ef136f2183ad1992fc8f9b9d96108d1c11b3dfb
Skip to content

Commit 0ef136f

Browse files
committed
Merge pull request faif#82 from xanpeng/master
add __future__ print_function
2 parents be8f565 + be97e4c commit 0ef136f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎iterator.py‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
66
Implementation of the iterator pattern with a generator"""
77

8+
from __future__ import print_function
9+
810

911
def count_to(count):
1012
"""Counts by word numbers, up to a maximum of five"""

0 commit comments

Comments
 (0)