summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJelle Zijlstra <jelle.zijlstra@gmail.com>2023-09-23 03:45:26 (GMT)
committerGitHub <noreply@github.com>2023-09-23 03:45:26 (GMT)
commit612400d4463b86201da407ae65ea45f426b8a4cb (patch)
treecaa5e56f4216dd66b1a54bd8bb665f360394281b
parentb03a791497ff4b3c42805e06c73d08ac34087402 (diff)
downloadcpython-612400d4463b86201da407ae65ea45f426b8a4cb.zip
cpython-612400d4463b86201da407ae65ea45f426b8a4cb.tar.gz
cpython-612400d4463b86201da407ae65ea45f426b8a4cb.tar.bz2
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).
-rw-r--r--Doc/whatsnew/3.13.rst10
1 files changed, 6 insertions, 4 deletions
diff --git a/Doc/whatsnew/3.13.rst b/Doc/whatsnew/3.13.rst
index ce799cc..c9e6ca8 100644
--- a/Doc/whatsnew/3.13.rst
+++ b/Doc/whatsnew/3.13.rst
@@ -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