]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Issue 10789: Correct threading.Lock.acquire signature.
authorTerry Reedy <tjreedy@udel.edu>
Sat, 1 Jan 2011 00:36:18 +0000 (00:36 +0000)
committerTerry Reedy <tjreedy@udel.edu>
Sat, 1 Jan 2011 00:36:18 +0000 (00:36 +0000)
Doc/library/threading.rst

index cd3f96369d57f2bdf1ed64156593038e5f4881b3..142f1ec3c0acf30a6082b21aca7bb98a41395d2c 100644 (file)
@@ -388,7 +388,7 @@ and may vary across implementations.
 All methods are executed atomically.
 
 
-.. method:: Lock.acquire([blocking=1])
+.. method:: Lock.acquire([blocking])
 
    Acquire a lock, blocking or non-blocking.