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
[3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) #19784
Conversation
*** File "/usr/lib64/python3.9/turtledemo/__main__.py", line 275 bg="GH-d00" if clear == NORMAL else"GH-fca") ^ SyntaxError: invalid string prefix (cherry picked from commit 49f70db) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
*** File "/usr/lib64/python3.9/turtledemo/__main__.py", line 275 bg="GH-d00" if clear == NORMAL else"GH-fca") ^ SyntaxError: invalid string prefix. (cherry picked from commit 49f70db) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
@aeros: Please replace |
I've been forgetting it less often now, but I'm still getting the hang of it. I couldn't use automerge for this PR since I had to clean up the commit message. |
Thanks @aeros for the PR |
…onGH-19784) [3.8] bpo-40431: Fix syntax typo in turtledemo (pythonGH-19777) * Addresses a syntax typo that mistakenly used a undefined string prefix due to a missing space. (cherry picked from commit 49f70db) Co-authored-by: Miro Hrončok <miro@hroncok.cz> (cherry picked from commit cc011b5) Co-authored-by: Kyle Stanley <aeros167@gmail.com>
GH-19789 is a backport of this pull request to the 3.7 branch. |
[3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) * Addresses a syntax typo that mistakenly used a undefined string prefix due to a missing space. (cherry picked from commit 49f70db) Co-authored-by: Miro Hrončok <miro@hroncok.cz> (cherry picked from commit cc011b5) Co-authored-by: Kyle Stanley <aeros167@gmail.com>
Backport for GH-19777, but it removes the Misc/NEWS entry since the typo is not a
SyntaxError
in versions prior to 3.9.https://bugs.python.org/issue40431