Skip to content

Commit 1f6e87a

Browse files
committed
Changes from review
1 parent 42b8d5f commit 1f6e87a

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

Doc/c-api/init.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2301,7 +2301,7 @@ The C-API provides a basic mutual exclusion lock.
23012301
should not be used to make concurrency control decisions, as the lock
23022302
state may change immediately after the check.
23032303
2304-
.. versionadded:: 3.14
2304+
.. versionadded:: next
23052305
23062306
.. _python-critical-section-api:
23072307

Doc/whatsnew/3.15.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,13 @@ Porting to Python 3.15
212212

213213
(Contributed by Serhiy Storchaka in :gh:`133595`.)
214214

215+
* Private functions promoted to public C APIs:
216+
217+
* ``PyMutex_IsLocked()`` : :c:func:`PyMutex_IsLocked`
218+
219+
The `pythoncapi-compat project`_ can be used to get most of these new
220+
functions on Python 3.14 and older.
221+
215222
Deprecated C APIs
216223
-----------------
217224

0 commit comments

Comments
 (0)