Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2b8cf2f

Browse files
committed
Issue 10789: Correct threading.Lock.acquire signature.
1 parent 488b485 commit 2b8cf2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Doc/library/threading.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ and may vary across implementations.
365365
All methods are executed atomically.
366366

367367

368-
.. method:: Lock.acquire(blocking=True)
368+
.. method:: Lock.acquire([blocking])
369369

370370
Acquire a lock, blocking or non-blocking.
371371

0 commit comments

Comments
 (0)