mirror of
https://github.com/python/cpython.git
synced 2025-07-22 18:55:22 +00:00
![]() Rewrite the turtledemo makeGraphFrame method (GH-104224)
Replace `self._canvas` and `self.scanvas`, both bound to `canvas`,
with `self.canvas, which is accessed in other methods.
Replace `_s_` with `screen` and `_s_._canvas` with `canvas`.
Add a comment explaining the unorthodox use of
function turtle.Screen and singleton class turtle._Screen.
(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 |