]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Link to section File input (GH-28941)
authorAndre Delfino <adelfino@gmail.com>
Tue, 2 Nov 2021 21:34:00 +0000 (18:34 -0300)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 21:34:00 +0000 (22:34 +0100)
Doc/library/functions.rst

index 09211681baf30f30f7aff159a37b946c584824c8..cf4a96097074f7811e14c8cd68bf183282e15b43 100644 (file)
@@ -557,7 +557,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