Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Merged
Changes from all commits
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
5 changes: 3 additions & 2 deletions 5 Doc/library/threading.rst
Original file line number Diff line number Diff line change
Expand Up @@ -371,8 +371,9 @@ All methods are executed atomically.
lock, subsequent attempts to acquire it block, until it is released; any
thread may release it.

.. versionchanged:: 3.3
Changed from a factory function to a class.
Note that ``Lock`` is actually a factory function which returns an instance
of the most efficient version of the concrete Lock class that is supported
by the platform.


.. method:: acquire(blocking=True, timeout=-1)
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.