Skip to content

Commit 8c5b75e

Browse files
committed
gh-152798: update sys.thread_info.lock documentation t match implementation.
1 parent 2cd5b79 commit 8c5b75e

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

Doc/library/sys.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2240,9 +2240,8 @@ always available. Unless explicitly noted otherwise, all variables are read-only
22402240

22412241
The name of the lock implementation:
22422242

2243-
* ``"semaphore"``: a lock uses a semaphore
2244-
* ``"mutex+cond"``: a lock uses a mutex and a condition variable
2245-
* ``None`` if this information is unknown
2243+
* ``"pymutex"``: a lock uses the PyMutex implementation
2244+
* ``None`` if the lock implementation is not exposed (e.g. : on Windows and WASI)
22462245

22472246
.. attribute:: thread_info.version
22482247

0 commit comments

Comments
 (0)