◐ Shell
reader mode source ↗
Skip to content

bpo-40431: Fix syntax typo in turtledemo#19777

Merged
vstinner merged 1 commit into
python:masterfrom
hroncok:turtlesyntax
Apr 29, 2020
Merged

bpo-40431: Fix syntax typo in turtledemo#19777
vstinner merged 1 commit into
python:masterfrom
hroncok:turtlesyntax

Conversation

@hroncok

@hroncok hroncok commented Apr 28, 2020

Copy link
Copy Markdown
Contributor
***   File "/usr/lib64/python3.9/turtledemo/__main__.py", line 275
    bg="#d00" if clear == NORMAL else"#fca")
                                    ^
SyntaxError: invalid string prefix

https://bugs.python.org/issue40431

    ***   File "/usr/lib64/python3.9/turtledemo/__main__.py", line 275
        bg="#d00" if clear == NORMAL else"#fca")
                                        ^
    SyntaxError: invalid string prefix

@vstinner vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hide comment

LGTM.

@vstinner vstinner merged commit 49f70db into python:master Apr 29, 2020
@hroncok hroncok deleted the turtlesyntax branch April 29, 2020 00:43
aeros pushed a commit to aeros/cpython that referenced this pull request Apr 29, 2020
***   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 added a commit to aeros/cpython that referenced this pull request Apr 29, 2020
***   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 added a commit that referenced this pull request Apr 29, 2020
[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>
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.

4 participants