summaryrefslogtreecommitdiffstats
path: root/Lib/turtledemo/clock.py
Commit message (Collapse)AuthorAgeFilesLines
* gh-125665: Update turtledemo docstrings with correct file names (#125691)Wulian2024-10-231-7/+2
| | | | Co-authored-by: Wulian <xiguawulian@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-123370: Fix the canvas not clearing after running turtledemo.clock (#123457)Wulian2024-10-171-13/+20
| | | | Rewriting the day and date every tick somehow prevented them from being removed either by clicking STOP or loading another example. The solution is to rewrite them only when they change.
* gh-118673: Remove shebang and executable bits from stdlib modules. (#119658)Jason R. Coombs2024-05-291-1/+0
| | | | | | | * gh-118673: Remove shebang and executable bits from stdlib modules. * Removed shebangs and exe bits on turtledemo scripts. The setting was inappropriate for '__main__' and inconsistent across the other modules. The scripts can still be executed directly by invoking with the desired interpreter.
* gh-91212: Fixed flickering when the tracer is turned off (#95129)Shin-myoung-serp2022-09-291-1/+0
| | | Fixed flickering when the tracer is turned off.
* Issue #21882: In turtle demos, remove module scope gui and sys calls byTerry Jan Reedy2014-06-301-5/+1
| | | | either deleting or moving to the module's main function.
* Issue #21823: Catch turtle.Terminator exceptions in turtledemo.Terry Jan Reedy2014-06-221-16/+20
| | | | Add note to demohelp.txt about doing so.
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-0/+0
| | | | | | | requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
* Issue #10199: Moved Demo/turtle under Lib/Alexander Belopolsky2010-11-011-0/+132