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

attribute named “print” wongly detected as syntax error in Python 3 #82

Open
fdik opened this issue Mar 29, 2021 · 1 comment
Open

Comments

@fdik
Copy link

fdik commented Mar 29, 2021

This line is wrongly detected as a syntax error:

elif options.print:

But print is an existing attribute of options, and the code works.

@fdik
Copy link
Author

fdik commented Mar 29, 2021

Same problem when using the print function as object:

output = print

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

No branches or pull requests

1 participant