Doc: Point to Simple statements section instead of PEP (GH-8238) · python/cpython@33aefad (original) (raw)

Original file line number Diff line number Diff line change
@@ -241,8 +241,8 @@ are always available. They are listed here in alphabetical order.
241 241 interactive statement (in the latter case, expression statements that
242 242 evaluate to something other than ``None`` will be printed).
243 243
244 - The optional arguments *flags* and *dont_inherit* control which future
245 - statements (see :pep:`236`) affect the compilation of *source*. If neither
244 + The optional arguments *flags* and *dont_inherit* control which :ref:`future
245 + statements ` affect the compilation of *source*. If neither
246 246 is present (or both are zero) the code is compiled with those future
247 247 statements that are in effect in the code that is calling :func:`compile`. If the
248 248 *flags* argument is given and *dont_inherit* is not (or is zero) then the