[Python-checkins] Doc: Fix link to window.getch in curses documentation (GH-16132)

Miss Islington (bot) webhook-mailer at python.org
Sat Sep 14 02:23:24 EDT 2019


https://github.com/python/cpython/commit/4fac58165b27186482599b99b55347d99f2b44c5
commit: 4fac58165b27186482599b99b55347d99f2b44c5
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2019-09-13T23:23:20-07:00
summary:

Doc: Fix link to window.getch in curses documentation (GH-16132)

(cherry picked from commit a26ace19bddea2d7a999a6de8286b3f27b132f35)

Co-authored-by: Anthony Sottile <asottile at umich.edu>

files:
M Doc/library/curses.rst

diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index 2a2ee2be84af..3e4856e14d34 100644
--- a/Doc/library/curses.rst
+++ b/Doc/library/curses.rst
@@ -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.
 
 



More information about the Python-checkins mailing list