From 473a10d8cf32a52688f2b5dba4d25d1ac3a975a8 Mon Sep 17 00:00:00 2001 From: Jules Lasne Date: Sat, 30 Jan 2021 10:03:05 +0100 Subject: [PATCH 1/5] Fixing typos in turtle.rst --- Doc/library/turtle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 6a9d61916ad1a5..db9018d3bc45fd 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. From 9c0770bdff53f417cf9610a7787fcf036b4168f7 Mon Sep 17 00:00:00 2001 From: Jules Lasne Date: Sat, 30 Jan 2021 12:11:35 +0100 Subject: [PATCH 2/5] Update turtle.rst --- Doc/library/turtle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index db9018d3bc45fd..cebe38154b9335 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -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 From 9b381760376d6180a5e04c9a3495480a0270e399 Mon Sep 17 00:00:00 2001 From: Jules Lasne Date: Sat, 30 Jan 2021 12:13:19 +0100 Subject: [PATCH 3/5] Update turtle.rst --- Doc/library/turtle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index cebe38154b9335..3a75b9fdaa2adc 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -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 From 5f2d48074e1f1093f3dedf7ea67b755a6ca562e1 Mon Sep 17 00:00:00 2001 From: Jules Lasne Date: Sat, 30 Jan 2021 12:36:38 +0100 Subject: [PATCH 4/5] Update turtle.rst --- Doc/library/turtle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 3a75b9fdaa2adc..f853028a51cccb 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -2349,7 +2349,7 @@ 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 From 00c46347945bf921e9a17a416d26befd53bf95d9 Mon Sep 17 00:00:00 2001 From: Jules Lasne Date: Sat, 30 Jan 2021 12:39:44 +0100 Subject: [PATCH 5/5] Update turtle.rst --- Doc/library/turtle.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index f853028a51cccb..9e8e85da2bbb96 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -2354,7 +2354,7 @@ Short explanation of selected entries: 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.