From 30b9d5d3af043fc2687ad11a188a34fe355e20ef Mon Sep 17 00:00:00 2001 From: Ezio Melotti Date: Sat, 17 Aug 2013 15:50:46 +0300 Subject: =?UTF-8?q?#18705:=20fix=20a=20number=20of=20typos.=20=20Patch=20b?= =?UTF-8?q?y=20F=C3=A9vry=20Thibault.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Lib/turtle.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Lib/turtle.py') diff --git a/Lib/turtle.py b/Lib/turtle.py index 49cd86d952..c6ebfa5c6d 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 -- cgit v1.2.1