diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2024-05-08 19:35:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-08 19:35:16 (GMT) |
commit | 05c2fe1acda9ea5a57061642c36e8b73bb4fbba4 (patch) | |
tree | 5b772347155d51f9796ebd4df456858edbd16fc7 /Misc/NEWS.d/3.11.0a1.rst | |
parent | bcb435ee8ff41b5ec5d879ee0b6651f146a66151 (diff) | |
download | cpython-05c2fe1acda9ea5a57061642c36e8b73bb4fbba4.zip cpython-05c2fe1acda9ea5a57061642c36e8b73bb4fbba4.tar.gz cpython-05c2fe1acda9ea5a57061642c36e8b73bb4fbba4.tar.bz2 |
Format None, True, False and NotImplemented as literals (GH-118758)
Diffstat (limited to 'Misc/NEWS.d/3.11.0a1.rst')
-rw-r--r-- | Misc/NEWS.d/3.11.0a1.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Misc/NEWS.d/3.11.0a1.rst b/Misc/NEWS.d/3.11.0a1.rst index e6cf9c0..96a7cf6 100644 --- a/Misc/NEWS.d/3.11.0a1.rst +++ b/Misc/NEWS.d/3.11.0a1.rst @@ -2722,7 +2722,7 @@ Importing typing.io or typing.re now prints a ``DeprecationWarning``. .. section: Library argparse actions store_const and append_const each receive a default value -of None when the ``const`` kwarg is not provided. Previously, this raised a +of ``None`` when the ``const`` kwarg is not provided. Previously, this raised a :exc:`TypeError`. .. @@ -3995,7 +3995,7 @@ operator expressions. .. section: Documentation Document that :class:`collections.defaultdict` parameter ``default_factory`` -defaults to None and is positional-only. +defaults to ``None`` and is positional-only. .. |