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
Better account for single-line compound statements and semi-colon separated statements when suggesting Py3 replacements for Py2 print statements. Initial patch by Nitish Chandra. (cherry picked from commit 43c0f1a)
|
GH-5380 is a backport of this pull request to the 3.6 branch. |
As per Nick Coghlan's suggestion, used
startattribute passed to_set_legacy_print_statement_msgand also made changes to use only the text before ';' as the suggestion.https://bugs.python.org/issue32685