summaryrefslogtreecommitdiffstats
path: root/Lib/turtle.py
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-11-22 19:40:51 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2010-11-22 19:40:51 (GMT)
commit022f049fededad8a2e8e902effd42eca19fbf2b1 (patch)
treea69fe0e6ee8f3e04515874b9279fe8df176eb477 /Lib/turtle.py
parent7744e2ae5e232634c1751bcacaeb0317459be00b (diff)
downloadcpython-022f049fededad8a2e8e902effd42eca19fbf2b1.zip
cpython-022f049fededad8a2e8e902effd42eca19fbf2b1.tar.gz
cpython-022f049fededad8a2e8e902effd42eca19fbf2b1.tar.bz2
Issue #6878: Fixed return type of tkinter methods documented to return lists.
Diffstat (limited to 'Lib/turtle.py')
-rw-r--r--Lib/turtle.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 5e55f09..7721748 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -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