Skip to content

Commit 6baaae5

Browse files
authored
Fixing typos in turtle.rst (GH-24376)
Automerge-Triggered-By: GH:JulienPalard
1 parent 11d75ec commit 6baaae5

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Doc/library/turtle.rst

+6-6
Original file line numberDiff line numberDiff line change
@@ -1105,7 +1105,7 @@ More drawing control
11051105
:param font: a triple (fontname, fontsize, fonttype)
11061106

11071107
Write text - the string representation of *arg* - at the current turtle
1108-
position according to *align* ("left", "center" or right") and with the given
1108+
position according to *align* ("left", "center" or "right") and with the given
11091109
font. If *move* is true, the pen is moved to the bottom-right corner of the
11101110
text. By default, *move* is ``False``.
11111111

@@ -1192,7 +1192,7 @@ Appearance
11921192
:func:`shapesize`.
11931193
- "noresize": no adaption of the turtle's appearance takes place.
11941194

1195-
resizemode("user") is called by :func:`shapesize` when used with arguments.
1195+
``resizemode("user")`` is called by :func:`shapesize` when used with arguments.
11961196

11971197
.. doctest::
11981198
:skipif: _tkinter is None
@@ -1330,7 +1330,7 @@ Appearance
13301330
matrix as a tuple of 4 elements.
13311331
Otherwise set the given elements and transform the turtleshape
13321332
according to the matrix consisting of first row t11, t12 and
1333-
second row t21, 22. The determinant t11 * t22 - t12 * t21 must not be
1333+
second row t21, t22. The determinant t11 * t22 - t12 * t21 must not be
13341334
zero, otherwise an error is raised.
13351335
Modify stretchfactor, shearfactor and tiltangle according to the
13361336
given matrix.
@@ -1513,7 +1513,7 @@ Special Turtle methods
15131513

15141514
:param size: an integer or ``None``
15151515

1516-
Set or disable undobuffer. If *size* is an integer an empty undobuffer of
1516+
Set or disable undobuffer. If *size* is an integer, an empty undobuffer of
15171517
given size is installed. *size* gives the maximum number of turtle actions
15181518
that can be undone by the :func:`undo` method/function. If *size* is
15191519
``None``, the undobuffer is disabled.
@@ -1821,7 +1821,7 @@ Using screen events
18211821
existing bindings are removed.
18221822

18231823
Example for a TurtleScreen instance named ``screen`` and a Turtle instance
1824-
named turtle:
1824+
named ``turtle``:
18251825

18261826
.. doctest::
18271827
:skipif: _tkinter is None
@@ -2048,7 +2048,7 @@ Methods specific to Screen, not inherited from TurtleScreen
20482048

20492049
.. function:: exitonclick()
20502050

2051-
Bind bye() method to mouse clicks on the Screen.
2051+
Bind ``bye()`` method to mouse clicks on the Screen.
20522052

20532053

20542054
If the value "using_IDLE" in the configuration dictionary is ``False``

0 commit comments

Comments
 (0)