diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-07-03 09:44:00 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-07-03 09:44:00 (GMT) |
commit | bd39c03c9faabcad9d6966c7e1a282e38823f456 (patch) | |
tree | d1b669aba54b696e2f4766ac008b4b578afbbc8e /Lib/lib-tk | |
parent | 16a393277410f38d9fa4a67d86433f1e3641f142 (diff) | |
download | cpython-bd39c03c9faabcad9d6966c7e1a282e38823f456.zip cpython-bd39c03c9faabcad9d6966c7e1a282e38823f456.tar.gz cpython-bd39c03c9faabcad9d6966c7e1a282e38823f456.tar.bz2 |
Only setup canvas when it is first created.
Fixes #1514703
Diffstat (limited to 'Lib/lib-tk')
-rw-r--r-- | Lib/lib-tk/turtle.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index 0fe83a3..b5bad59 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -679,7 +679,7 @@ class Pen(RawPen): _canvas = Tkinter.Canvas(_root, background="white") _canvas.pack(expand=1, fill="both") - setup(width=_width, height= _height, startx=_startx, starty=_starty) + setup(width=_width, height= _height, startx=_startx, starty=_starty) RawPen.__init__(self, _canvas) |