summaryrefslogtreecommitdiff
path: root/Lib/turtle.py
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2011-03-16 11:35:38 +0200
committerEzio Melotti <ezio.melotti@gmail.com>2011-03-16 11:35:38 +0200
commit3b3499ba69341a49fc842ce0d4a2f66fcb249a04 (patch)
treedd97578d333a72ac825c0e7ad64e4367d8dfe248 /Lib/turtle.py
parentcc4a4842643d6415ca4a449e9d0557cfb029715a (diff)
parent13925008dc11f2a235627dc8c0440c0ce99171d9 (diff)
downloadcpython-git-3b3499ba69341a49fc842ce0d4a2f66fcb249a04.tar.gz
#11565: Merge with 3.1.
Diffstat (limited to 'Lib/turtle.py')
-rw-r--r--Lib/turtle.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/turtle.py b/Lib/turtle.py
index e1fc8c59b0..2ff54278e2 100644
--- a/Lib/turtle.py
+++ b/Lib/turtle.py
@@ -1488,7 +1488,7 @@ class TurtleScreen(TurtleScreenBase):
Optional arguments:
canvwidth -- positive integer, new width of canvas in pixels
canvheight -- positive integer, new height of canvas in pixels
- bg -- colorstring or color-tupel, new backgroundcolor
+ bg -- colorstring or color-tuple, new backgroundcolor
If no arguments are given, return current (canvaswidth, canvasheight)
Do not alter the drawing window. To observe hidden parts of
@@ -3242,9 +3242,9 @@ class RawTurtle(TPen, TNavigator):
fill="", width=ps)
# Turtle now at position old,
self._position = old
- ## if undo is done during crating a polygon, the last vertex
- ## will be deleted. if the polygon is entirel deleted,
- ## creatigPoly will be set to False.
+ ## if undo is done during creating a polygon, the last vertex
+ ## will be deleted. if the polygon is entirely deleted,
+ ## creatingPoly will be set to False.
## Polygons created before the last one will not be affected by undo()
if self._creatingPoly:
if len(self._poly) > 0:
@@ -3796,7 +3796,7 @@ class _Screen(TurtleScreen):
class Turtle(RawTurtle):
- """RawTurtle auto-crating (scrolled) canvas.
+ """RawTurtle auto-creating (scrolled) canvas.
When a Turtle object is created or a function derived from some
Turtle method is called a TurtleScreen object is automatically created.
@@ -3836,7 +3836,7 @@ def write_docstringdict(filename="turtle_docstringdict"):
filename -- a string, used as filename
default value is turtle_docstringdict
- Has to be called explicitely, (not used by the turtle-graphics classes)
+ Has to be called explicitly, (not used by the turtle-graphics classes)
The docstring dictionary will be written to the Python script <filname>.py
It is intended to serve as a template for translation of the docstrings
into different languages.