Skip to content

Use print() function in both Python 2 and Python 3 - #1

Merged
kk7nc merged 1 commit into
kk7nc:masterfrom
cclauss:modernize-Python-2-codes
Apr 23, 2019
Merged

Use print() function in both Python 2 and Python 3#1
kk7nc merged 1 commit into
kk7nc:masterfrom
cclauss:modernize-Python-2-codes

Conversation

@cclauss

@cclauss cclauss commented Apr 18, 2019

Copy link
Copy Markdown
Contributor

Legacy print statements are syntax errors in Python 3 but print() function works as expected in both Python 2 and Python 3.

Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.
@kk7nc
kk7nc merged commit 8fde295 into kk7nc:master Apr 23, 2019
@cclauss
cclauss deleted the modernize-Python-2-codes branch April 23, 2019 10:46
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