]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Doc: Fix link to window.getch in curses documentation (GH-16132)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 14 Sep 2019 06:23:20 +0000 (23:23 -0700)
committerGitHub <noreply@github.com>
Sat, 14 Sep 2019 06:23:20 +0000 (23:23 -0700)
(cherry picked from commit a26ace19bddea2d7a999a6de8286b3f27b132f35)

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

index 2a2ee2be84af2ac2aea75de15161589c934b9928..3e4856e14d34111c75b52e5a4e77b04b0a4ecc94 100644 (file)
@@ -1276,7 +1276,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.