@@ -1352,7 +1352,7 @@ def onclick(self, fun, btn=1, add=None):
13521352 Arguments:
13531353 fun -- a function with two arguments, the coordinates of the
13541354 clicked point on the canvas.
1355- num -- the number of the mouse-button, defaults to 1
1355+ btn -- the number of the mouse-button, defaults to 1
13561356
13571357 Example (for a TurtleScreen instance named screen)
13581358
@@ -3526,7 +3526,7 @@ def onclick(self, fun, btn=1, add=None):
35263526 Arguments:
35273527 fun -- a function with two arguments, to which will be assigned
35283528 the coordinates of the clicked point on the canvas.
3529- num -- number of the mouse-button defaults to 1 (left mouse button).
3529+ btn -- number of the mouse-button defaults to 1 (left mouse button).
35303530 add -- True or False. If True, new binding will be added, otherwise
35313531 it will replace a former binding.
35323532
@@ -3547,7 +3547,7 @@ def onrelease(self, fun, btn=1, add=None):
35473547 Arguments:
35483548 fun -- a function with two arguments, to which will be assigned
35493549 the coordinates of the clicked point on the canvas.
3550- num -- number of the mouse-button defaults to 1 (left mouse button).
3550+ btn -- number of the mouse-button defaults to 1 (left mouse button).
35513551
35523552 Example (for a MyTurtle instance named joe):
35533553 >>> class MyTurtle(Turtle):
@@ -3572,7 +3572,7 @@ def ondrag(self, fun, btn=1, add=None):
35723572 Arguments:
35733573 fun -- a function with two arguments, to which will be assigned
35743574 the coordinates of the clicked point on the canvas.
3575- num -- number of the mouse-button defaults to 1 (left mouse button).
3575+ btn -- number of the mouse-button defaults to 1 (left mouse button).
35763576
35773577 Every sequence of mouse-move-events on a turtle is preceded by a
35783578 mouse-click event on that turtle.
0 commit comments