]> granicus.if.org Git - python/commitdiff
Issue 10789: Correct threading.Lock.acquire signature.
authorTerry Reedy <tjreedy@udel.edu>
Sat, 1 Jan 2011 00:29:59 +0000 (00:29 +0000)
committerTerry Reedy <tjreedy@udel.edu>
Sat, 1 Jan 2011 00:29:59 +0000 (00:29 +0000)
Doc/library/threading.rst

index 910e49de3112855e1df3c136ecdb0d674a96b2b8..c9ef294a105ec1d8457f688a27d817213a72809f 100644 (file)
@@ -365,7 +365,7 @@ and may vary across implementations.
 All methods are executed atomically.
 
 
-.. method:: Lock.acquire(blocking=True)
+.. method:: Lock.acquire([blocking])
 
    Acquire a lock, blocking or non-blocking.