Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Simplify the versionchanged wording.
  • Loading branch information
gpshead authored Jan 25, 2024
commit 3311e0abc73b85dc5f1460ef40b13ce3d843ea98
7 changes: 3 additions & 4 deletions Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -535,10 +535,9 @@ All methods are executed atomically.
thread may release it.

.. versionchanged:: 3.13
``Lock`` is now a class. In earlier Python versions,
``Lock`` used to be a factory function which returned an instance
of the most efficient version of the concrete Lock class that is supported
by the platform.
``Lock`` is now a class. In earlier Pythons, ``Lock`` was a factory
function which returned an instance of the underlying private lock
type.


.. method:: acquire(blocking=True, timeout=-1)
Expand Down