https://github.com/python/cpython/commit/ed1aa1f324f9eb32aba9bff0240e2514eb051f70 commit: ed1aa1f324f9eb32aba9bff0240e2514eb051f70 branch: main author: Zhikang Yan <[email protected]> committer: StanFromIreland <[email protected]> date: 2026-08-28T10:13:31+01:00 summary:
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 <[email protected]> files: A Misc/NEWS.d/next/Library/2024-11-08-18-39-50.gh-issue-125763.F2p5_U.rst M Lib/turtledemo/sorting_animate.py diff --git a/Lib/turtledemo/sorting_animate.py b/Lib/turtledemo/sorting_animate.py index e0a2877cd5d621a..8bfaa74b719c6b5 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 000000000000000..3dda03b977499f1 --- /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. _______________________________________________ Python-checkins mailing list -- [email protected] To unsubscribe send an email to [email protected] https://mail.python.org/mailman3//lists/python-checkins.python.org Member address: [email protected]
