mirror of
https://github.com/python/cpython.git
synced 2025-08-27 04:05:34 +00:00
Issue #6878: Fixed return type of tkinter methods documented to return lists.
This commit is contained in:
parent
7744e2ae5e
commit
022f049fed
3 changed files with 21 additions and 21 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue