mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
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:
parent
b03a791497
commit
612400d446
1 changed files with 6 additions and 4 deletions
|
@ -265,7 +265,9 @@ 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
|
||||
* :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`.)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue