diff options
| author | Martin v. Löwis <martin@v.loewis.de> | 2006-07-03 09:44:00 +0000 |
|---|---|---|
| committer | Martin v. Löwis <martin@v.loewis.de> | 2006-07-03 09:44:00 +0000 |
| commit | deaba8672a0548936b596ad6f3c88f4b8392fbaf (patch) | |
| tree | 698fe52fa5b46f8295887eb8285620c3bb5db00d /Lib | |
| parent | daede94534a7c1f8bb37554aa851d05f42e06169 (diff) | |
| download | cpython-deaba8672a0548936b596ad6f3c88f4b8392fbaf.tar.gz | |
Only setup canvas when it is first created.
Fixes #1514703
Diffstat (limited to 'Lib')
| -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 0fe83a3df8..b5bad592ab 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) |
