[Python-checkins] [3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) (GH-19784)

Miss Islington (bot) webhook-mailer at python.org
Wed Apr 29 05:42:32 EDT 2020


https://github.com/python/cpython/commit/adb1f853482e75e81ae0ae7307318a1051ca46b5
commit: adb1f853482e75e81ae0ae7307318a1051ca46b5
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2020年04月29日T02:42:05-07:00
summary:
[3.8] bpo-40431: Fix syntax typo in turtledemo (GH-19777) (GH-19784)
[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 49f70db83e2c62ad06805927f53f6c3e8f4b798e)
Co-authored-by: Miro Hrončok <miro at hroncok.cz>
(cherry picked from commit cc011b5190b63f0be561ddec38fc4cd9e60cbf6a)
Co-authored-by: Kyle Stanley <aeros167 at gmail.com>
files:
M Lib/turtledemo/__main__.py
diff --git a/Lib/turtledemo/__main__.py b/Lib/turtledemo/__main__.py
index 17fe9a75e1c5e..12be5098dad27 100644
--- a/Lib/turtledemo/__main__.py
+++ b/Lib/turtledemo/__main__.py
@@ -272,7 +272,7 @@ def configGUI(self, start, stop, clear, txt="", color="blue"):
 self.stop_btn.config(state=stop,
 bg="#d00" if stop == NORMAL else "#fca")
 self.clear_btn.config(state=clear,
- bg="#d00" if clear == NORMAL else"#fca")
+ bg="#d00" if clear == NORMAL else "#fca")
 self.output_lbl.config(text=txt, fg=color)
 
 def makeLoadDemoMenu(self, master):


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /