From c1c4ff61ec753c9b039acad88785627c8a986363 Mon Sep 17 00:00:00 2001 From: Andre Delfino Date: Tue, 2 Nov 2021 18:34:00 -0300 Subject: [PATCH] [doc] Link to section File input (GH-28941) (cherry picked from commit 48824fa1e26595ac97ffc96ee2c3d32ff130c420) Co-authored-by: Andre Delfino --- Doc/library/functions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 689455409eec38b..47ebbd0b509a568 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -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