Issue 19195: Improved cross-references in C API documentation.
diff --git a/Doc/c-api/file.rst b/Doc/c-api/file.rst
index 20a7a60..bbd4223 100644
--- a/Doc/c-api/file.rst
+++ b/Doc/c-api/file.rst
@@ -111,7 +111,8 @@
    .. index:: single: EOFError (built-in exception)
 
    Equivalent to ``p.readline([n])``, this function reads one line from the
-   object *p*.  *p* may be a file object or any object with a :meth:`readline`
+   object *p*.  *p* may be a file object or any object with a
+   :meth:`~io.IOBase.readline`
    method.  If *n* is ``0``, exactly one line is read, regardless of the length of
    the line.  If *n* is greater than ``0``, no more than *n* bytes will be read
    from the file; a partial line can be returned.  In both cases, an empty string