diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index c88d3520e988ff..f1803c685a9e23 100644 --- a/Doc/library/curses.rst +++ b/Doc/library/curses.rst @@ -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.