summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Doc/library/curses.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/curses.rst b/Doc/library/curses.rst
index c88d3520e9..f1803c685a 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.