From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 29 Jul 2020 18:43:54 +0000 (-0700) Subject: bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677) X-Git-Tag: v3.9.0rc1~28 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=607ba9deffacc57983978a28c74282dfabcb455d;p=thirdparty%2FPython%2Fcpython.git bpo-41426 Fix grammar in curses.getmouse() documentation (GH-21677) Automerge-Triggered-By: @brettcannon (cherry picked from commit ba18c0b13ba3c08077ea3db6658328523823a33f) Co-authored-by: Sebastien Williams-Wynn --- diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index 1201e8972de6..c86ca5d9bc55 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -214,7 +214,7 @@ The module :mod:`curses` defines the following functions: .. function:: getmouse() After :meth:`~window.getch` returns :const:`KEY_MOUSE` to signal a mouse event, this - method should be call to retrieve the queued mouse event, represented as a + method should be called to retrieve the queued mouse event, represented as a 5-tuple ``(id, x, y, z, bstate)``. *id* is an ID value used to distinguish multiple devices, and *x*, *y*, *z* are the event's coordinates. (*z* is currently unused.) *bstate* is an integer value whose bits will be set to