Fix indentation in 3.13 What's New (#109769)

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).
This commit is contained in:
Jelle Zijlstra 2023-09-22 20:45:26 -07:00 committed by GitHub
parent b03a791497
commit 612400d446
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -265,7 +265,9 @@ Deprecated
security and functionality bugs. This includes removal of the ``--cgi`` security and functionality bugs. This includes removal of the ``--cgi``
flag to the ``python -m http.server`` command line in 3.15. 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 * :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 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 be disallowed in Python 3.15. Use the class-based syntax or the functional
syntax instead. (Contributed by Alex Waygood in :gh:`105566`.) syntax instead. (Contributed by Alex Waygood in :gh:`105566`.)