summaryrefslogtreecommitdiffstats
path: root/Lib/turtle.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:50:46 (GMT)
commit30b9d5d3af043fc2687ad11a188a34fe355e20ef (patch)
tree6e86b6b605397d826721779611ebd06d028acfc1 /Lib/turtle.py
parent67f39777fa2c14f0e632adda8c5945cec569b46e (diff)
downloadcpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.zip
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.gz
cpython-30b9d5d3af043fc2687ad11a188a34fe355e20ef.tar.bz2
#18705: fix a number of typos. Patch by FĂ©vry Thibault.
Diffstat (limited to 'Lib/turtle.py')
-rw-r--r--Lib/turtle.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py
index 49cd86d..c6ebfa5 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -1278,7 +1278,7 @@ class TurtleScreen(TurtleScreenBase):
self._delayvalue = int(delay)
def _incrementudc(self):
- """Increment upadate counter."""
+ """Increment update counter."""
if not TurtleScreen._RUNNING:
TurtleScreen._RUNNNING = True
raise Terminator
@@ -2527,7 +2527,7 @@ class RawTurtle(TPen, TNavigator):
self.screen = TurtleScreen(canvas)
RawTurtle.screens.append(self.screen)
else:
- raise TurtleGraphicsError("bad cavas argument %s" % canvas)
+ raise TurtleGraphicsError("bad canvas argument %s" % canvas)
screen = self.screen
TNavigator.__init__(self, screen.mode())
@@ -2772,7 +2772,7 @@ class RawTurtle(TPen, TNavigator):
def shapesize(self, stretch_wid=None, stretch_len=None, outline=None):
"""Set/return turtle's stretchfactors/outline. Set resizemode to "user".
- Optinonal arguments:
+ Optional arguments:
stretch_wid : positive number
stretch_len : positive number
outline : positive number
@@ -3135,7 +3135,7 @@ class RawTurtle(TPen, TNavigator):
def _goto(self, end):
"""Move the pen to the point end, thereby drawing a line
- if pen is down. All other methodes for turtle movement depend
+ if pen is down. All other methods for turtle movement depend
on this one.
"""
## Version with undo-stuff