Skip to content

Commit ed1aa1f

Browse files
Xiaokang2022blurb-it[bot]StanFromIreland
authored
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>
1 parent 24e5a55 commit ed1aa1f

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

Lib/turtledemo/sorting_animate.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,6 @@ def enable_keys():
178178
onkey(start_ssort, "s")
179179
onkey(start_qsort, "q")
180180
onkey(randomize, "r")
181-
onkey(bye, "space")
182181

183182
def main():
184183
getscreen().clearscreen()
@@ -191,7 +190,7 @@ def main():
191190
return "EVENTLOOP"
192191

193192
instructions1 = "press i for insertion sort, s for selection sort, q for quicksort"
194-
instructions2 = "spacebar to quit, r to randomize"
193+
instructions2 = "r to randomize"
195194

196195
if __name__=="__main__":
197196
msg = main()
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Remove the broken spacebar quit binding from :mod:`turtledemo`\s ``sorting_animate`` example.

0 commit comments

Comments
 (0)