mirror of
https://github.com/python/cpython.git
synced 2025-09-20 15:40:32 +00:00
gh-133879: Copyedit "What's New in Python 3.15" (#133880)
This commit is contained in:
parent
9b9cdb6440
commit
13cb8ca3da
1 changed files with 5 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue