]> granicus.if.org Git - python/commitdiff
[3.8] Doc: Fix link to window.getch in curses documentation (GH-16132) (GH-16135)
authorStéphane Wirtel <stephane@wirtel.be>
Sat, 14 Sep 2019 06:25:10 +0000 (07:25 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Sep 2019 06:25:10 +0000 (07:25 +0100)
(cherry picked from commit a26ace19bddea2d7a999a6de8286b3f27b132f35)

Co-authored-by: Anthony Sottile <asottile@umich.edu>
Doc/library/curses.rst

index 7d1e7538a292b3423f4ebe797b8df3df95851a75..cbd68834b6cbee3d6b1832c34b395d3800ccbd80 100644 (file)
@@ -1283,7 +1283,7 @@ The :mod:`curses` module defines the following data members:
 
 .. data:: ERR
 
-   Some curses routines  that  return  an integer, such as  :func:`getch`, return
+   Some curses routines  that  return  an integer, such as :meth:`~window.getch`, return
    :const:`ERR` upon failure.