]> granicus.if.org Git - python/commitdiff
#3969: fix typo in turtle.py.
authorGeorg Brandl <georg@python.org>
Fri, 26 Sep 2008 07:14:57 +0000 (07:14 +0000)
committerGeorg Brandl <georg@python.org>
Fri, 26 Sep 2008 07:14:57 +0000 (07:14 +0000)
Lib/lib-tk/turtle.py

index fcde9af4ed4e6eb92c571b9707b269997f7be069..6bc3760947be7727d13a71811f65836a7a5113a7 100644 (file)
@@ -762,7 +762,7 @@ def setup(**geometry):
 
     startx = geometry.get('startx', _startx)
     if startx >= 0 or startx == None:
-        _startx = _startx
+        _startx = startx
     else:
         raise ValueError, "startx can not be less than 0"