gh-125763: Remove the broken spacebar quit binding in `turtledemo.sorting_animate` (#126583)
Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
Co-authored-by: Stan Ulbrych <stan@python.org>
diff --git a/Lib/turtledemo/sorting_animate.py b/Lib/turtledemo/sorting_animate.py
index e0a2877..8bfaa74 100644
--- a/Lib/turtledemo/sorting_animate.py
+++ b/Lib/turtledemo/sorting_animate.py
@@ -178,7 +178,6 @@ def enable_keys():
onkey(start_ssort, "s")
onkey(start_qsort, "q")
onkey(randomize, "r")
- onkey(bye, "space")
def main():
getscreen().clearscreen()
@@ -191,7 +190,7 @@ def main():
return "EVENTLOOP"
instructions1 = "press i for insertion sort, s for selection sort, q for quicksort"
-instructions2 = "spacebar to quit, r to randomize"
+instructions2 = "r to randomize"
if __name__=="__main__":
msg = main()
diff --git a/Misc/NEWS.d/next/Library/2024-11-08-18-39-50.gh-issue-125763.F2p5_U.rst b/Misc/NEWS.d/next/Library/2024-11-08-18-39-50.gh-issue-125763.F2p5_U.rst
new file mode 100644
index 0000000..3dda03b
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2024-11-08-18-39-50.gh-issue-125763.F2p5_U.rst
@@ -0,0 +1 @@
+Remove the broken spacebar quit binding from :mod:`turtledemo`\s ``sorting_animate`` example.