Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from Nov 3, 2020

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented May 28, 2020

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.
@vitalybuka vitalybuka merged commit a6ff6de into google:master Nov 3, 2020
@cclauss cclauss deleted the modernize-Python-2-codes branch November 3, 2020 02:40
cclauss added a commit to cclauss/sanitizers that referenced this pull request Nov 3, 2020
Like google#1256 @vitalybuka 
Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.
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.

None yet

2 participants