This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Shane Smith
Recipients Shane Smith, docs@python
Date 2018-11-14.20:40:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1542228045.84.0.788709270274.issue35250@psf.upfronthosting.co.za>
In-reply-to
Content
I noticed a slight mismatch in the parameter documentation for one of turtle's functions.  onclick() accepts the parameters (fun, btn, add), but the documentation describes the parameters (fun, num, add).  A minor issue, to be sure, but I wanted to point it out since I just noticed it.  I'm using Python 3.7.1 but I suspect it's not isolated to that.

>>> help(turtle.Turtle().onclick)
Help on method onclick in module turtle:

onclick(fun, btn=1, add=None) method of turtle.Turtle instance
    Bind fun to mouse-click event on this turtle on canvas.
    
    Arguments:
    fun --  a function with two arguments, to which will be assigned
            the coordinates of the clicked point on the canvas.
    num --  number of the mouse-button defaults to 1 (left mouse button).
    add --  True or False. If True, new binding will be added, otherwise
            it will replace a former binding.
History
Date User Action Args
2018-11-14 20:40:45Shane Smithsetrecipients: + Shane Smith, docs@python
2018-11-14 20:40:45Shane Smithsetmessageid: <1542228045.84.0.788709270274.issue35250@psf.upfronthosting.co.za>
2018-11-14 20:40:45Shane Smithlinkissue35250 messages
2018-11-14 20:40:45Shane Smithcreate