mirror of
https://github.com/python/cpython.git
synced 2025-09-26 10:19:53 +00:00
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>
This commit is contained in:
parent
6f26d496d3
commit
9c01db40aa
20 changed files with 32 additions and 86 deletions
|
@ -1,6 +1,4 @@
|
|||
""" turtle-example-suite:
|
||||
|
||||
tdemo_minimal_hanoi.py
|
||||
"""turtledemo/minimal_hanoi.py
|
||||
|
||||
A minimal 'Towers of Hanoi' animation:
|
||||
A tower of 6 discs is transferred from the
|
||||
|
@ -12,9 +10,6 @@ is derived from the built-in type list.
|
|||
|
||||
Discs are turtles with shape "square", but
|
||||
stretched to rectangles by shapesize()
|
||||
---------------------------------------
|
||||
To exit press STOP button
|
||||
---------------------------------------
|
||||
"""
|
||||
from turtle import *
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue