8000 Doc: Point to Simple statements section instead of PEP (GH-8238) · python/cpython@b3cc7ca · GitHub
[go: up one dir, main page]

Skip to content

Commit b3cc7ca

Browse files
Doc: Point to Simple statements section instead of PEP (GH-8238)
(cherry picked from commit 33aefad) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
1 parent def4b06 commit b3cc7ca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Doc/library/functions.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ are always available. They are listed here in alphabetical order.
226226
interactive statement (in the latter case, expression statements that
227227
evaluate to something other than ``None`` will be printed).
228228

229-
The optional arguments *flags* and *dont_inherit* control which future
230-
statements (see :pep:`236`) affect the compilation of *source*. If neither
229+
The optional arguments *flags* and *dont_inherit* control which :ref:`future
230+
statements <future>` affect the compilation of *source*. If neither
231231
is present (or both are zero) the code is compiled with those future
232232
statements that are in effect in the code that is calling :func:`compile`. If the
233233
*flags* argument is given and *dont_inherit* is not (or is zero) then the

0 commit comments

Comments
 (0)
0