From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 11 Jul 2018 10:52:27 +0000 (-0700) Subject: Doc: Point to Simple statements section instead of PEP (GH-8238) X-Git-Tag: v3.6.7rc1~183 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b3cc7ca2506113f7673dcb358010897f44ea6569;p=python Doc: Point to Simple statements section instead of PEP (GH-8238) (cherry picked from commit 33aefad3424853ff197c23431efec89d6598b19d) Co-authored-by: Andrés Delfino --- diff --git a/Doc/library/functions.rst b/Doc/library/functions.rst index 574f35a675..9ebadfca0f 100644 --- a/Doc/library/functions.rst +++ b/Doc/library/functions.rst @@ -226,8 +226,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 ` 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