aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/turtledemo/nim.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2014-08-27 01:43:50 -0400
committerTerry Jan Reedy <tjreedy@udel.edu>2014-08-27 01:43:50 -0400
commit8450c5331548e396d31639776c91e191a5f3147e (patch)
tree5a904440ebac1787feae7ef3fa13aa7a00707560 /Lib/turtledemo/nim.py
parentcf26115651c4c5cfc92776fd7204d7a218241e88 (diff)
downloadcpython-8450c5331548e396d31639776c91e191a5f3147e.tar.gz
cpython-8450c5331548e396d31639776c91e191a5f3147e.zip
Issue #22065: Menus, unlike Menubottons, do not have a state option.
Since a new demo can now be loaded while one is running, adjust loadfile to do the same cleanup as stopIt.
Diffstat (limited to 'Lib/turtledemo/nim.py')
-rw-r--r--Lib/turtledemo/nim.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/turtledemo/nim.py b/Lib/turtledemo/nim.py
index 25ff3128f6c..9ae6cc5c01b 100644
--- a/Lib/turtledemo/nim.py
+++ b/Lib/turtledemo/nim.py
@@ -219,7 +219,7 @@ def main():
mainscreen.mode("standard")
mainscreen.setup(SCREENWIDTH, SCREENHEIGHT)
nim = Nim(mainscreen)
- return "EVENTLOOP!"
+ return "EVENTLOOP"
if __name__ == "__main__":
main()