]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Fix indentation in 3.13 What's New (#109769)
authorJelle Zijlstra <jelle.zijlstra@gmail.com>
Sat, 23 Sep 2023 03:45:26 +0000 (20:45 -0700)
committerGitHub <noreply@github.com>
Sat, 23 Sep 2023 03:45:26 +0000 (20:45 -0700)
The previous layout made it look like the other three deprecations are part of the first one, when in fact they are independent.

The new layout is consistent with that used for sqlite3 in 3.12 (https://docs.python.org/3.13/whatsnew/3.12.html#deprecated).

Doc/whatsnew/3.13.rst

index ce799ccd1fdcdfe6acfba11dba8615dd4b872d1d..c9e6ca8bf88866ce8be9b9023310fe4f7b46ebd7 100644 (file)
@@ -265,10 +265,12 @@ Deprecated
   security and functionality bugs.  This includes removal of the ``--cgi``
   flag to the ``python -m http.server`` command line in 3.15.
 
-* :mod:`typing`: Creating a :class:`typing.NamedTuple` class using keyword arguments to denote
-  the fields (``NT = NamedTuple("NT", x=int, y=int)``) is deprecated, and will
-  be disallowed in Python 3.15. Use the class-based syntax or the functional
-  syntax instead. (Contributed by Alex Waygood in :gh:`105566`.)
+* :mod:`typing`:
+
+  * Creating a :class:`typing.NamedTuple` class using keyword arguments to denote
+    the fields (``NT = NamedTuple("NT", x=int, y=int)``) is deprecated, and will
+    be disallowed in Python 3.15. Use the class-based syntax or the functional
+    syntax instead. (Contributed by Alex Waygood in :gh:`105566`.)
 
   * When using the functional syntax to create a :class:`typing.NamedTuple`
     class or a :class:`typing.TypedDict` class, failing to pass a value to the