#3969: fix typo in turtle.py.
This commit is contained in:
parent
d1c7d07d67
commit
00d71436c7
|
@ -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"
|
||||
|
||||
|
|
Loading…
Reference in New Issue