From 321fc8b18494a462e496ae80bd4e71776e4d017f Mon Sep 17 00:00:00 2001 From: Hugo van Kemenade Date: Mon, 4 Sep 2023 15:02:25 -0600 Subject: [PATCH] Link to PEP sections in What's New in 3.12 (GH-108878) (cherry picked from commit 7855d325e638a4b7f7b40f2c35dc80de82d8fe70) Co-authored-by: Hugo van Kemenade --- Doc/whatsnew/3.12.rst | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.12.rst b/Doc/whatsnew/3.12.rst index f76f9c465b9121..f58c2d94e431bc 100644 --- a/Doc/whatsnew/3.12.rst +++ b/Doc/whatsnew/3.12.rst @@ -68,7 +68,7 @@ Summary -- Release highlights New grammar features: -* :pep:`701`: Syntactic formalization of f-strings +* :ref:`whatsnew312-pep701` Interpreter improvements: @@ -76,13 +76,13 @@ Interpreter improvements: New typing features: -* :pep:`688`: Making the buffer protocol accessible in Python +* :ref:`whatsnew312-pep688` * :ref:`whatsnew312-pep692` * :ref:`whatsnew312-pep695` -* :pep:`698`: Override Decorator for Static Typing +* :ref:`whatsnew312-pep698` Important deprecations, removals or restrictions: @@ -268,6 +268,8 @@ Inlining does result in a few visible behavior changes: Contributed by Carl Meyer and Vladimir Matveev in :pep:`709`. +.. _whatsnew312-pep688: + PEP 688: Making the buffer protocol accessible in Python -------------------------------------------------------- @@ -341,6 +343,8 @@ See :pep:`692` for more details. (Contributed by Franek Magiera in :gh:`103629`.) +.. _whatsnew312-pep698: + PEP 698: Override Decorator for Static Typing ---------------------------------------------