aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Lib/turtledemo/sorting_animate.py
diff options
context:
space:
mode:
authorWulian <1055917385@qq.com>2024-10-24 04:29:32 +0800
committerGitHub <noreply@github.com>2024-10-23 16:29:32 -0400
commit9c01db40aa5edbd75ce50342c08f7ed018ee7864 (patch)
treea9f80756c230c1ecbe08bbed8aef5885146e1293 /Lib/turtledemo/sorting_animate.py
parent6f26d496d3c894970ee18a125e9100791ebc2b36 (diff)
downloadcpython-9c01db40aa5edbd75ce50342c08f7ed018ee7864.tar.gz
cpython-9c01db40aa5edbd75ce50342c08f7ed018ee7864.zip
gh-125665: Update turtledemo docstrings with correct file names (#125691)
Co-authored-by: Wulian <xiguawulian@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Lib/turtledemo/sorting_animate.py')
-rw-r--r--Lib/turtledemo/sorting_animate.py7
1 files changed, 1 insertions, 6 deletions
diff --git a/Lib/turtledemo/sorting_animate.py b/Lib/turtledemo/sorting_animate.py
index ef4946db382..e0a2877cd5d 100644
--- a/Lib/turtledemo/sorting_animate.py
+++ b/Lib/turtledemo/sorting_animate.py
@@ -1,6 +1,4 @@
-"""
-
- sorting_animation.py
+"""turtledemo/sorting_animation.py
A minimal sorting algorithm animation:
Sorts a shelf of 10 blocks using insertion
@@ -10,9 +8,6 @@ Shelves are implemented using builtin lists.
Blocks are turtles with shape "square", but
stretched to rectangles by shapesize()
- ---------------------------------------
- To exit press space button
- ---------------------------------------
"""
from turtle import *
import random