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

Merged
merged 1 commit into from
Jun 26, 2019

Conversation

cclauss
Copy link
Contributor

@cclauss cclauss commented Jun 26, 2019

Discovered via: flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics

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

Discovered via: __flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics__

Legacy __print__ statements are syntax errors in Python 3 but __print()__ function works as expected in both Python 2 and Python 3.
@cgoldberg cgoldberg merged commit c1af560 into locustio:master Jun 26, 2019
@cgoldberg
Copy link
Member

thanks!

@cclauss cclauss deleted the patch-2 branch June 26, 2019 14:41
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