https://github.com/python/cpython/commit/13cb8ca3da75d6fe2a1114e58c24ca681fee411f
commit: 13cb8ca3da75d6fe2a1114e58c24ca681fee411f
branch: main
author: Bénédikt Tran <[email protected]>
committer: picnixz <[email protected]>
date: 2025-05-11T09:14:20Z
summary:
gh-133879: Copyedit "What's New in Python 3.15" (#133880)
files:
M Doc/whatsnew/3.15.rst
diff --git a/Doc/whatsnew/3.15.rst b/Doc/whatsnew/3.15.rst
index 5a9bf1ae3c97bf..8cf5238e6cc49a 100644
--- a/Doc/whatsnew/3.15.rst
+++ b/Doc/whatsnew/3.15.rst
@@ -124,7 +124,7 @@ Removed
sysconfig
---------
-* The *check_home* parameter of :func:`sysconfig.is_python_build`.
+* Removed the *check_home* parameter of :func:`sysconfig.is_python_build`.
(Contributed by Filipe Laíns in :gh:`92897`.)
@@ -133,7 +133,7 @@ typing
* The undocumented keyword argument syntax for creating
:class:`~typing.NamedTuple` classes (for example,
- ``Point = NamedTuple("Point", x=int, y=int)``).
+ ``Point = NamedTuple("Point", x=int, y=int)``) is no longer supported.
Use the class-based syntax or the functional syntax instead.
(Contributed by Bénédikt Tran in :gh:`133817`.)
@@ -204,6 +204,7 @@ Removed C APIs
* :c:func:`!PyImport_ImportModuleNoBlock`: deprecated alias
of :c:func:`PyImport_ImportModule`.
+ (Contributed by Bénédikt Tran in :gh:`133644`.)
The following functions are removed in favor of :c:func:`PyConfig_Get`.
The |pythoncapi_compat_project| can be used to get :c:func:`!PyConfig_Get`
@@ -236,6 +237,8 @@ on Python 3.13 and older.
use :c:func:`PyConfig_Get("home") <PyConfig_Get>` or the
:envvar:`PYTHONHOME` environment variable instead.
+ (Contributed by Bénédikt Tran in :gh:`133644`.)
+
.. |pythoncapi_compat_project| replace:: |pythoncapi_compat_project_link|_
.. |pythoncapi_compat_project_link| replace:: pythoncapi-compat project
.. _pythoncapi_compat_project_link: https://github.com/python/pythoncapi-compat
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: [email protected]