Sitelet https://github.com/faif/python-patterns/pull/82
Skip to content

add __future__ print_function - #82

Merged
faif merged 1 commit into
faif:masterfrom
xanpeng:master
May 1, 2015
Merged

faif merged 1 commit into
faif:masterfrom
xanpeng:master

Conversation

@xanpeng

@xanpeng xanpeng commented Apr 30, 2015

Copy link
Copy Markdown
Contributor

print(number, end=' ') won't work in python 2.x, this patch make it work.
Test passed under python 2.7.9, python 2.6.6 and python 3 (ideone.com used).

faif added a commit that referenced this pull request May 1, 2015
add __future__ print_function
@faif
faif merged commit 0ef136f into faif:master May 1, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants