diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-25 06:51:38 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-10-25 06:51:38 (GMT) |
commit | f8cc2870f16e386476c6a62c4688a7bdd28dbaad (patch) | |
tree | d910b8c9e22a7be6b76c3b518ad9aace58a6e4f9 /Lib/lib-tk/turtle.py | |
parent | f10006cdb82a27802ec7c9340e59030712d36f29 (diff) | |
download | cpython-f8cc2870f16e386476c6a62c4688a7bdd28dbaad.zip cpython-f8cc2870f16e386476c6a62c4688a7bdd28dbaad.tar.gz cpython-f8cc2870f16e386476c6a62c4688a7bdd28dbaad.tar.bz2 |
Issue #28515: Fixed py3k warnings.
Diffstat (limited to 'Lib/lib-tk/turtle.py')
-rw-r--r-- | Lib/lib-tk/turtle.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py index 7444d45..264318e 100644 --- a/Lib/lib-tk/turtle.py +++ b/Lib/lib-tk/turtle.py @@ -728,10 +728,11 @@ class TurtleScreenBase(object): """ return self.cv.create_image(0, 0, image=image) - def _drawimage(self, item, (x, y), image): + def _drawimage(self, item, pos, image): """Configure image item as to draw image object at position (x,y) on canvas) """ + x, y = pos self.cv.coords(item, (x * self.xscale, -y * self.yscale)) self.cv.itemconfig(item, image=image) |