[Python-checkins] [doc] Link to section File input (GH-28941) (GH-29376)

ambv webhook-mailer at python.org
Tue Nov 2 17:59:50 EDT 2021

commit: d3e775501566138347ca9d10ce57afdc1fcd3859
branch: 3.9
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: ambv <lukasz at langa.pl>
date: 2021-11-02T22:59:42+01:00

[doc] Link to section File input (GH-28941) (GH-29376)

(cherry picked from commit 48824fa1e26595ac97ffc96ee2c3d32ff130c420)

Co-authored-by: Andre Delfino <adelfino at gmail.com>

M Doc/library/functions.rst

diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 942ad6fab85c9..4acbc67b2d69b 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -507,7 +507,7 @@ are always available.  They are listed here in alphabetical order.
    a suite of Python statements which is then executed (unless a syntax error
    occurs). [#]_ If it is a code object, it is simply executed.  In all cases,
    the code that's executed is expected to be valid as file input (see the
-   section "File input" in the Reference Manual). Be aware that the
+   section :ref:`file-input` in the Reference Manual). Be aware that the
    :keyword:`nonlocal`, :keyword:`yield`,  and :keyword:`return`
    statements may not be used outside of
    function definitions even within the context of code passed to the

More information about the Python-checkins mailing list