diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2010-03-14 09:51:37 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2010-03-14 09:51:37 (GMT) |
commit | 1a263ad62f11709e16c41f2448421287cde21e27 (patch) | |
tree | 372113b5f0a3ea6f47a139c253720dc9697ef303 /Doc/library/turtle.rst | |
parent | 580d60cef47124376cb1d287f830551a0fa10869 (diff) | |
download | cpython-1a263ad62f11709e16c41f2448421287cde21e27.zip cpython-1a263ad62f11709e16c41f2448421287cde21e27.tar.gz cpython-1a263ad62f11709e16c41f2448421287cde21e27.tar.bz2 |
#7057: fix several errors.
Diffstat (limited to 'Doc/library/turtle.rst')
-rw-r--r-- | Doc/library/turtle.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 5f9de57..c6ba316 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -35,13 +35,13 @@ programmer to use all the commands, classes and methods interactively when using the module from within IDLE run with the ``-n`` switch. The turtle module provides turtle graphics primitives, in both object-oriented -and procedure-oriented ways. Because it uses :mod:`Tkinter` for the underlying +and procedure-oriented ways. Because it uses :mod:`tkinter` for the underlying graphics, it needs a version of Python installed with Tk support. The object-oriented interface uses essentially two+two classes: 1. The :class:`TurtleScreen` class defines graphics windows as a playground for - the drawing turtles. Its constructor needs a :class:`Tkinter.Canvas` or a + the drawing turtles. Its constructor needs a :class:`tkinter.Canvas` or a :class:`ScrolledCanvas` as argument. It should be used when :mod:`turtle` is used as part of some application. @@ -1998,7 +1998,7 @@ The public classes of the module :mod:`turtle` .. class:: RawTurtle(canvas) RawPen(canvas) - :param canvas: a :class:`Tkinter.Canvas`, a :class:`ScrolledCanvas` or a + :param canvas: a :class:`tkinter.Canvas`, a :class:`ScrolledCanvas` or a :class:`TurtleScreen` Create a turtle. The turtle has all methods described above as "methods of @@ -2013,7 +2013,7 @@ The public classes of the module :mod:`turtle` .. class:: TurtleScreen(cv) - :param cv: a :class:`Tkinter.Canvas` + :param cv: a :class:`tkinter.Canvas` Provides screen oriented methods like :func:`setbg` etc. that are described above. |