diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2018-12-05 23:10:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-05 23:10:36 +0200 |
commit | abe74feb912292aa4df4e70d39e85d0bcd425436 (patch) | |
tree | 20efca269494cd24770c04c483e56fa26e112055 /Doc | |
parent | c6639cda512d32b016dce713ac2c737a9056eac0 (diff) | |
download | cpython-git-abe74feb912292aa4df4e70d39e85d0bcd425436.tar.gz |
[2.7] bpo-35250: Correct argument name "num" -> "btn" in turtle docs. (GH-10565). (GH-10943)
(cherry picked from commit 4edeaeac4c194ba5d09187640b5cfca5e03be617)
Co-authored-by: Srinivas Thatiparthy (శ్రీనివాస్ తాటిపర్తి) <thatiparthysreenivas@gmail.com>
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/library/turtle.rst | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Doc/library/turtle.rst b/Doc/library/turtle.rst index 1c8a9675b7..63c0bee6ad 100644 --- a/Doc/library/turtle.rst +++ b/Doc/library/turtle.rst @@ -1229,7 +1229,7 @@ Using events :param fun: a function with two arguments which will be called with the coordinates of the clicked point on the canvas - :param num: number of the mouse-button, defaults to 1 (left mouse button) + :param btn: number of the mouse-button, defaults to 1 (left mouse button) :param add: ``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise it will replace a former binding @@ -1250,7 +1250,7 @@ Using events :param fun: a function with two arguments which will be called with the coordinates of the clicked point on the canvas - :param num: number of the mouse-button, defaults to 1 (left mouse button) + :param btn: number of the mouse-button, defaults to 1 (left mouse button) :param add: ``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise it will replace a former binding @@ -1274,7 +1274,7 @@ Using events :param fun: a function with two arguments which will be called with the coordinates of the clicked point on the canvas - :param num: number of the mouse-button, defaults to 1 (left mouse button) + :param btn: number of the mouse-button, defaults to 1 (left mouse button) :param add: ``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise it will replace a former binding @@ -1656,7 +1656,7 @@ Using screen events :param fun: a function with two arguments which will be called with the coordinates of the clicked point on the canvas - :param num: number of the mouse-button, defaults to 1 (left mouse button) + :param btn: number of the mouse-button, defaults to 1 (left mouse button) :param add: ``True`` or ``False`` -- if ``True``, a new binding will be added, otherwise it will replace a former binding |