diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-05-06 15:31:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-06 15:31:28 (GMT) |
commit | 10ee19b7371e333f1e22c9471b61954485f2268c (patch) | |
tree | 6d1ca9b38b3c1a4592c5321d7499681b5ef91667 /Python/pythonrun.c | |
parent | 4b11af058e9c5df2b737f785a2615676650810f4 (diff) | |
download | cpython-10ee19b7371e333f1e22c9471b61954485f2268c.zip cpython-10ee19b7371e333f1e22c9471b61954485f2268c.tar.gz cpython-10ee19b7371e333f1e22c9471b61954485f2268c.tar.bz2 |
[3.11] Rewrite the turtledemo makeGraphFrame method (GH-104224) (#104238)
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 96f95df48e41ccf984de1ee1312c81809fd9e876)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions