[Python-checkins] Fixing typos in turtle.rst (GH-24376)
miss-islington
webhook-mailer at python.org
Fri Jan 29 16:50:02 EST 2021
https://github.com/python/cpython/commit/0b93a558f566a7a9d699a91ad529b3e8969ffa5f
commit: 0b93a558f566a7a9d699a91ad529b3e8969ffa5f
branch: 3.8
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: miss-islington <31488909+miss-islington at users.noreply.github.com>
date: 2021-01-29T13:49:57-08:00
summary:
Fixing typos in turtle.rst (GH-24376)
Automerge-Triggered-By: GH:JulienPalard
(cherry picked from commit 6baaae589d596ed3bb668448f2a22c5f62fc5fdf)
Co-authored-by: Jules Lasne <jules.lasne at gmail.com>
files:
M Doc/library/turtle.rst
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index 7bd7e96610912..6a9d61916ad1a 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -1105,7 +1105,7 @@ More drawing control
:param font: a triple (fontname, fontsize, fonttype)
Write text - the string representation of *arg* - at the current turtle
- position according to *align* ("left", "center" or right") and with the given
+ position according to *align* ("left", "center" or "right") and with the given
font. If *move* is true, the pen is moved to the bottom-right corner of the
text. By default, *move* is ``False``.
@@ -1192,7 +1192,7 @@ Appearance
:func:`shapesize`.
- "noresize": no adaption of the turtle's appearance takes place.
- resizemode("user") is called by :func:`shapesize` when used with arguments.
+ ``resizemode("user")`` is called by :func:`shapesize` when used with arguments.
.. doctest::
:skipif: _tkinter is None
@@ -1330,7 +1330,7 @@ Appearance
matrix as a tuple of 4 elements.
Otherwise set the given elements and transform the turtleshape
according to the matrix consisting of first row t11, t12 and
- second row t21, 22. The determinant t11 * t22 - t12 * t21 must not be
+ second row t21, t22. The determinant t11 * t22 - t12 * t21 must not be
zero, otherwise an error is raised.
Modify stretchfactor, shearfactor and tiltangle according to the
given matrix.
@@ -1513,7 +1513,7 @@ Special Turtle methods
:param size: an integer or ``None``
- Set or disable undobuffer. If *size* is an integer an empty undobuffer of
+ Set or disable undobuffer. If *size* is an integer, an empty undobuffer of
given size is installed. *size* gives the maximum number of turtle actions
that can be undone by the :func:`undo` method/function. If *size* is
``None``, the undobuffer is disabled.
@@ -1821,7 +1821,7 @@ Using screen events
existing bindings are removed.
Example for a TurtleScreen instance named ``screen`` and a Turtle instance
- named turtle:
+ named ``turtle``:
.. doctest::
:skipif: _tkinter is None
@@ -2048,7 +2048,7 @@ Methods specific to Screen, not inherited from TurtleScreen
.. function:: exitonclick()
- Bind bye() method to mouse clicks on the Screen.
+ Bind ``bye()`` method to mouse clicks on the Screen.
If the value "using_IDLE" in the configuration dictionary is ``False``
More information about the Python-checkins
mailing list