mirror of https://github.com/python/cpython
30d7e9e721
[3.13] gh-123370: Fix the canvas not clearing after running turtledemo.clock (GH-123457)
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.
(cherry picked from commit
|
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
bytedesign.py | ||
chaos.py | ||
clock.py | ||
colormixer.py | ||
forest.py | ||
fractalcurves.py | ||
lindenmayer.py | ||
minimal_hanoi.py | ||
nim.py | ||
paint.py | ||
peace.py | ||
penrose.py | ||
planet_and_moon.py | ||
rosette.py | ||
round_dance.py | ||
sorting_animate.py | ||
tree.py | ||
turtle.cfg | ||
two_canvases.py | ||
yinyang.py |