Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions Lib/turtledemo/sorting_animate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Remove the broken spacebar quit binding from :mod:`turtledemo`\s ``sorting_animate`` example.
2 changes: 1 addition & 1 deletion Python/codegen.c
Original file line number Diff line number Diff line change
Expand Up @@ -1196,7 +1196,7 @@ codegen_function_annotations(compiler *c, location loc,
RETURN_IF_ERROR_IN_SCOPE(
c, codegen_annotations_in_scope(c, loc, args, returns, &annotations_len)
);
ADDOP_I(c, loc, BUILD_MAP, annotations_len);
ADDOP_I_IN_SCOPE(c, loc, BUILD_MAP, annotations_len);
RETURN_IF_ERROR(codegen_leave_annotations_scope(c, loc));
return MAKE_FUNCTION_ANNOTATE;
}
Expand Down
Loading