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

This commit is contained in:
Andre Delfino 2021-11-02 18:34:00 -03:00 committed by GitHub
parent 3551bf16ee
commit 48824fa1e2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View 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