summaryrefslogtreecommitdiffstats
path: root/Lib/lib-tk/turtle.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:43:51 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2013-08-17 12:43:51 (GMT)
commitf5469cff1f90381819291bcddcc70f5aaf2da141 (patch)
treef61191eac7db34346674d3b5dca6cfc334dcca99 /Lib/lib-tk/turtle.py
parent10b513098af5323bc2e9dee4775531eb63c1f0ab (diff)
downloadcpython-f5469cff1f90381819291bcddcc70f5aaf2da141.zip
cpython-f5469cff1f90381819291bcddcc70f5aaf2da141.tar.gz
cpython-f5469cff1f90381819291bcddcc70f5aaf2da141.tar.bz2
#18705: fix a number of typos. Patch by Févry Thibault.
Diffstat (limited to 'Lib/lib-tk/turtle.py')
-rw-r--r--Lib/lib-tk/turtle.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/lib-tk/turtle.py b/Lib/lib-tk/turtle.py
index 2954051..f8188e1 100644
--- a/Lib/lib-tk/turtle.py
+++ b/Lib/lib-tk/turtle.py
@@ -1233,7 +1233,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
@@ -2439,7 +2439,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())
@@ -2684,7 +2684,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
@@ -2975,7 +2975,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 mit undo-stuff