Files
cpython/Doc/library
Miss Islington (bot) c5248b7acf [3.15] gh-89554: Document _thread.LockType as a class (GH-150684) (#150785)
gh-89554: Document _thread.LockType as a class (GH-150684)

_thread.LockType is a class (the type of lock objects), but was documented
with the ".. data::" directive, so ":class:" cross-references to it cannot
resolve against a py:class target.

Switch the entry to ".. class::", move it next to the lock methods, and
document acquire(), release() and locked() as methods of the class.  Keep
the old _thread.lock.* URL fragments working with raw HTML anchors.
(cherry picked from commit e37ce56977)

Co-authored-by: Bernát Gábor <gaborjbernat@gmail.com>
2026-06-02 13:07:05 +00:00
..
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2025-02-11 19:16:29 +02:00
2025-01-14 13:52:58 +02:00
2026-05-07 16:26:31 +03:00
2025-05-06 18:33:52 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-04-07 14:24:03 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-03-10 14:31:15 +02:00
2026-03-10 14:31:15 +02:00
2026-01-14 16:41:32 +02:00
2026-02-11 14:23:15 +02:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-05-07 16:26:31 +03:00
2026-02-11 14:23:15 +02:00
2026-04-07 14:24:03 +03:00
2026-05-07 16:26:31 +03:00
2026-04-07 14:24:03 +03:00
2026-05-07 16:26:31 +03:00