[Python-checkins] Fixing typos in turtle.rst (GH-24385)
nanjekyejoannah
webhook-mailer at python.org
Sun May 30 12:35:39 EDT 2021
https://github.com/python/cpython/commit/8ab5b7eecaa1a1a249afbd3bf8358ce2b12e4713
commit: 8ab5b7eecaa1a1a249afbd3bf8358ce2b12e4713
branch: main
author: Jules Lasne <jules.lasne at gmail.com>
committer: nanjekyejoannah <33177550+nanjekyejoannah at users.noreply.github.com>
date: 2021-05-30T13:35:30-03:00
summary:
Fixing typos in turtle.rst (GH-24385)
* Fixing typos in turtle.rst
* Update turtle.rst
* Update turtle.rst
* Update turtle.rst
* Update turtle.rst
files:
M Doc/library/turtle.rst
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst
index 6a9d61916ad1a..9e8e85da2bbb9 100644
--- a/Doc/library/turtle.rst
+++ b/Doc/library/turtle.rst
@@ -1894,7 +1894,7 @@ Input methods
Pop up a dialog window for input of a number. title is the title of the
dialog window, prompt is a text mostly describing what numerical information
to input. default: default value, minval: minimum value for input,
- maxval: maximum value for input
+ maxval: maximum value for input.
The number input must be in the range minval .. maxval if these are
given. If not, a hint is issued and the dialog remains open for
correction.
@@ -1938,7 +1938,7 @@ Settings and special methods
:param cmode: one of the values 1.0 or 255
Return the colormode or set it to 1.0 or 255. Subsequently *r*, *g*, *b*
- values of color triples have to be in the range 0..\ *cmode*.
+ values of color triples have to be in the range 0..*cmode*.
.. doctest::
:skipif: _tkinter is None
@@ -2002,7 +2002,7 @@ Settings and special methods
>>> screen.register_shape("triangle", ((5,-3), (0,5), (-5,-3)))
- (3) *name* is an arbitrary string and shape is a (compound) :class:`Shape`
+ (3) *name* is an arbitrary string and *shape* is a (compound) :class:`Shape`
object: Install the corresponding compound shape.
Add a turtle shape to TurtleScreen's shapelist. Only thusly registered
@@ -2349,12 +2349,12 @@ Short explanation of selected entries:
auto``.
- If you set e.g. ``language = italian`` the docstringdict
:file:`turtle_docstringdict_italian.py` will be loaded at import time (if
- present on the import path, e.g. in the same directory as :mod:`turtle`.
+ present on the import path, e.g. in the same directory as :mod:`turtle`).
- The entries *exampleturtle* and *examplescreen* define the names of these
objects as they occur in the docstrings. The transformation of
method-docstrings to function-docstrings will delete these names from the
docstrings.
-- *using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its -n
+- *using_IDLE*: Set this to ``True`` if you regularly work with IDLE and its ``-n``
switch ("no subprocess"). This will prevent :func:`exitonclick` to enter the
mainloop.
More information about the Python-checkins
mailing list