Skip to content
This repository was archived by the owner on Dec 8, 2021. It is now read-only.

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

Open
cclauss wants to merge 1 commit intogoogleapis:masterfrom
cclauss:modernize-Python-2-codes
Open

Use print() function in both Python 2 and Python 3#676
cclauss wants to merge 1 commit intogoogleapis:masterfrom
cclauss:modernize-Python-2-codes

Conversation

@cclauss
Copy link

@cclauss cclauss commented Jul 21, 2019

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.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant