Doc: Point to Simple statements section instead of PEP (GH-8238)
(cherry picked from commit 33aefad342
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
This commit is contained in:
parent
bcea15a611
commit
6b1b6e4385
|
@ -240,8 +240,8 @@ are always available. They are listed here in alphabetical order.
|
|||
interactive statement (in the latter case, expression statements that
|
||||
evaluate to something other than ``None`` will be printed).
|
||||
|
||||
The optional arguments *flags* and *dont_inherit* control which future
|
||||
statements (see :pep:`236`) affect the compilation of *source*. If neither
|
||||
The optional arguments *flags* and *dont_inherit* control which :ref:`future
|
||||
statements <future>` affect the compilation of *source*. If neither
|
||||
is present (or both are zero) the code is compiled with those future
|
||||
statements that are in effect in the code that is calling :func:`compile`. If the
|
||||
*flags* argument is given and *dont_inherit* is not (or is zero) then the
|
||||
|
|
Loading…
Reference in New Issue