[Python-checkins] Doc: Point to Simple statements section instead of PEP (GH-8238)
Miss Islington (bot)
webhook-mailer at python.org
Wed Jul 11 06:32:35 EDT 2018
https://github.com/python/cpython/commit/6b1b6e43856775ce7f4503548eb12d88641cbd31
commit: 6b1b6e43856775ce7f4503548eb12d88641cbd31
branch: 3.7
author: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
committer: GitHub <noreply at github.com>
date: 2018-07-11T03:32:31-07:00
summary:
Doc: Point to Simple statements section instead of PEP (GH-8238)
(cherry picked from commit 33aefad3424853ff197c23431efec89d6598b19d)
Co-authored-by: Andrés Delfino <adelfino at gmail.com>
files:
M Doc/library/functions.rst
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index f5427a4072a8..f642f59a9399 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -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
More information about the Python-checkins
mailing list