Skip to content

Commit 612400d

Browse files
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).
1 parent b03a791 commit 612400d

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Doc/whatsnew/3.13.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -265,10 +265,12 @@ Deprecated
265265
security and functionality bugs. This includes removal of the ``--cgi``
266266
flag to the ``python -m http.server`` command line in 3.15.
267267

268-
* :mod:`typing`: Creating a :class:`typing.NamedTuple` class using keyword arguments to denote
269-
the fields (``NT = NamedTuple("NT", x=int, y=int)``) is deprecated, and will
270-
be disallowed in Python 3.15. Use the class-based syntax or the functional
271-
syntax instead. (Contributed by Alex Waygood in :gh:`105566`.)
268+
* :mod:`typing`:
269+
270+
* Creating a :class:`typing.NamedTuple` class using keyword arguments to denote
271+
the fields (``NT = NamedTuple("NT", x=int, y=int)``) is deprecated, and will
272+
be disallowed in Python 3.15. Use the class-based syntax or the functional
273+
syntax instead. (Contributed by Alex Waygood in :gh:`105566`.)
272274

273275
* When using the functional syntax to create a :class:`typing.NamedTuple`
274276
class or a :class:`typing.TypedDict` class, failing to pass a value to the

0 commit comments

Comments
 (0)