Merged revisions 86697 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r86697 | alexander.belopolsky | 2010-11-22 14:40:51 -0500 (Mon, 22 Nov 2010) | 1 line

  Issue #6878: Fixed return type of tkinter methods documented to return lists.
........
This commit is contained in:
Alexander Belopolsky 2010-11-22 19:45:06 +00:00
parent 72d5a9d192
commit 5468f4ff10
3 changed files with 21 additions and 21 deletions

View file

@ -752,7 +752,7 @@ class TurtleScreenBase(object):
[(0.0, 9.9999999999999982), (0.0, -9.9999999999999982),
(9.9999999999999982, 0.0)]
>>> """
cl = list(self.cv.coords(item))
cl = self.cv.coords(item)
pl = [(cl[i], -cl[i+1]) for i in range(0, len(cl), 2)]
return pl