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 #1339

Merged
merged 1 commit into from Nov 3, 2020

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Nov 3, 2020

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

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.
@vitalybuka vitalybuka merged commit 50306f3 into google:master Nov 3, 2020
@cclauss cclauss deleted the patch-1 branch November 3, 2020 04:06
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