We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a5aa72a commit 56ddfd2Copy full SHA for 56ddfd2
Doc/library/threading.rst
@@ -371,8 +371,9 @@ All methods are executed atomically.
371
lock, subsequent attempts to acquire it block, until it is released; any
372
thread may release it.
373
374
- .. versionchanged:: 3.3
375
- 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
376
+ by the platform.
377
378
379
.. method:: acquire(blocking=True, timeout=-1)
0 commit comments