Skip to content

Commit 4d221c8

Browse files
committed
update porting notes
1 parent bed1018 commit 4d221c8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

Doc/whatsnew/3.15.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -155,6 +155,10 @@ Deprecated C APIs
155155
Removed C APIs
156156
--------------
157157

158+
The following functions are removed in favor of :c:func:`PyConfig_Get`.
159+
The |pythoncapi_compat_project| can be used to get :c:func:`!PyConfig_Get`
160+
on Python 3.13 and older.
161+
158162
* Python initialization functions:
159163

160164
* :c:func:`!Py_GetExecPrefix`:
@@ -182,3 +186,6 @@ Removed C APIs
182186
use :c:func:`PyConfig_Get("home") <PyConfig_Get>` or the
183187
:envvar:`PYTHONHOME` environment variable instead.
184188

189+
.. |pythoncapi_compat_project| replace:: |pythoncapi_compat_project_link|_.
190+
.. |pythoncapi_compat_project_link| replace:: pythoncapi-compat project
191+
.. _pythoncapi_compat_project_link: https://github.com/python/pythoncapi-compat

0 commit comments

Comments
 (0)