gh-152798: update sys.thread_info.lock documentation to match implementation (GH-153263)
(cherry picked from commit
48cc2579b65be508ca64b6cb64ce0f7922eab9ab)
Co-authored-by: Wojusensei <wojusensei@outlook.com>
The name of the lock implementation:
- * ``"semaphore"``: a lock uses a semaphore
- * ``"mutex+cond"``: a lock uses a mutex and a condition variable
+ * ``"semaphore"``: a lock uses a semaphore (Python 3.14 and older)
+ * ``"mutex+cond"``: a lock uses a mutex and a condition variable (Python 3.14 and older)
+ * ``"pymutex"``: a lock uses the :c:type:`PyMutex` implementation (Python 3.15 and newer)
* ``None`` if this information is unknown
.. attribute:: thread_info.version