8000 Fixing typos in turtle.rst (GH-24385) · python/cpython@8ab5b7e · GitHub
[go: up one dir, main page]

Skip to content

Commit 8ab5b7e

Browse files
authored
Fixing typos in turtle.rst (GH-24385)
* Fixing typos in turtle.rst * Update turtle.rst * Update turtle.rst * Update turtle.rst * Update turtle.rst
1 parent 14ba761 commit 8ab5b7e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Doc/library/turtle.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1894,7 +1894,7 @@ Input methods
18941894
Pop up a dialog window for input of a number. title is the title of the
18951895
dialog window, prompt is a text mostly describing what numerical information
18961896
to input. default: default value, minval: minimum value for input,
1897-
maxval: maximum value for input
1897+
maxval: maximum value for input.
18981898
The number input must be in the range minval .. maxval if these are
18991899
given. If not, a hint is issued and the dialog remains open for
19001900
correction.
@@ -1938,7 +1938,7 @@ Settings and special methods
19381938
:param cmode: one of the values 1.0 or 255
19391939

19401940
Return the colormode or set it to 1.0 or 255. Subsequently *r*, *g*, *b*
1941-
values of color triples have to be in the range 0..\ *cmode*.
1941+
values of color triples have to be in the range 0..*cmode*.
19421942

19431943
.. doctest::
19441944
:skipif: _tkinter is None
@@ -2002,7 +2002,7 @@ Settings and special methods
20022002

20032003
>>> screen.register_shape("triangle", ((5,-3), (0,5), (-5,-3)))
20042004

2005-
(3) *name* is an arbitrary string and shape is a (compound) :class:`Shape`
2005+
(3) *name* is an arbitrary string and *shape* is a (compound) :class:`Shape`
20062006
object: Install the corresponding compound shape.
20072007

20082008
Add a turtle shape to TurtleScreen's shapelist. Only thusly registered
@@ -2349,12 +2349,12 @@ Short explanation of selected entries:
23492349
auto``.
23502350
- If you set e.g. ``language = italian`` the docstringdict
23512351
:file:`turtle_docstringdict_italian.py` will be loaded at import time (if
2352-
present on the import path, e.g. in the same directory as :mod:`turtle`.
2352+
present on the import path, e.g. in the same directory as :mod:`turtle`).
23532353
- The entries *exampleturtle* and *examplescreen* define the names of these
23542354
objects as they occur in the docstrings. The transformation of
23552355
method-docstrings to function-docstrings will delete these names from the
23562356
docstrings.
2357-
- *using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -n
2357+
- *using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its ``-n``
23582358
switch ("no subprocess"). This will prevent :func:`exitonclick` to enter the
23592359
mainloop.
23602360

0 commit comments

Comments
 (0)
0