From 9cadce916a5f1e5b73bd76d9b67c80e04f5e2c4b Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Sat, 1 Oct 2022 23:16:13 -0500 Subject: [PATCH 1/2] Link TOML & WSGI in New Modules section, refine text & add ref label --- Doc/whatsnew/3.11.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 0cd281edbe5b17..10ca91e8b91124 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -512,14 +512,16 @@ Other CPython Implementation Changes (Contributed by Éric Araujo in :issue:`46142`.) +.. _whatsnew311-new-modules: + New Modules =========== -* A new module, :mod:`tomllib`, was added for parsing TOML. +* :mod:`tomllib` was added for parsing `TOML `_. (Contributed by Taneli Hukkinen in :issue:`40059`.) -* :mod:`wsgiref.types`, containing WSGI-specific types for static type - checking, was added. +* :mod:`wsgiref.types` was added, + containing :pep:`WSGI <3333>`-specific types for static type checking. (Contributed by Sebastian Rittau in :issue:`42012`.) From 8881e310f312ed2651b89e68440d4101e3a2cd78 Mon Sep 17 00:00:00 2001 From: "C.A.M. Gerlach" Date: Sun, 2 Oct 2022 01:16:27 -0500 Subject: [PATCH 2/2] Further reformat new modules & add PEP link to tomllib --- Doc/whatsnew/3.11.rst | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.11.rst b/Doc/whatsnew/3.11.rst index 10ca91e8b91124..cb4aa2f4711912 100644 --- a/Doc/whatsnew/3.11.rst +++ b/Doc/whatsnew/3.11.rst @@ -517,11 +517,12 @@ Other CPython Implementation Changes New Modules =========== -* :mod:`tomllib` was added for parsing `TOML `_. +* :mod:`tomllib`: For parsing `TOML `_. + See :pep:`680` for more details. (Contributed by Taneli Hukkinen in :issue:`40059`.) -* :mod:`wsgiref.types` was added, - containing :pep:`WSGI <3333>`-specific types for static type checking. +* :mod:`wsgiref.types`: + :pep:`WSGI <3333>`-specific types for static type checking. (Contributed by Sebastian Rittau in :issue:`42012`.)