]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[doc] Link to section File input (GH-28941) (GH-29376)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Tue, 2 Nov 2021 21:59:42 +0000 (14:59 -0700)
committerGitHub <noreply@github.com>
Tue, 2 Nov 2021 21:59:42 +0000 (22:59 +0100)
(cherry picked from commit 48824fa1e26595ac97ffc96ee2c3d32ff130c420)

Co-authored-by: Andre Delfino <adelfino@gmail.com>
Doc/library/functions.rst

index 942ad6fab85c9f0c64f4f6c20fc2ec457f6f9873..4acbc67b2d69bfa2b6b16c3253f96c7c11b3c22b 100644 (file)
@@ -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