summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorAndrés Delfino <adelfino@gmail.com>2018-07-11 09:44:06 (GMT)
committerINADA Naoki <methane@users.noreply.github.com>2018-07-11 09:44:06 (GMT)
commit33aefad3424853ff197c23431efec89d6598b19d (patch)
tree33384e25082dcb865467e29c0dc76775e461c283 /Doc/library
parent09b2bece78f62c3d363236dce593ecfe130afd2f (diff)
downloadcpython-33aefad3424853ff197c23431efec89d6598b19d.zip
cpython-33aefad3424853ff197c23431efec89d6598b19d.tar.gz
cpython-33aefad3424853ff197c23431efec89d6598b19d.tar.bz2
Doc: Point to Simple statements section instead of PEP (GH-8238)
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/functions.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst
index 6476cbd..68a5dce 100644
--- a/Doc/library/functions.rst
+++ b/Doc/library/functions.rst
@@ -241,8 +241,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