diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst index 7d1e7538a292b3..cbd68834b6cbee 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.