summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorTerry Reedy <tjreedy@udel.edu>2011-01-01 00:29:59 (GMT)
committerTerry Reedy <tjreedy@udel.edu>2011-01-01 00:29:59 (GMT)
commit2b8cf2f7541341afe2a7423d42284b1a9d87afdf (patch)
tree5ffdd0dc4d01ba121b3e2e46dd45ae437a6cec3b /Doc
parent488b485e2babe8a8c9b596813779c0310e52781f (diff)
downloadcpython-2b8cf2f7541341afe2a7423d42284b1a9d87afdf.zip
cpython-2b8cf2f7541341afe2a7423d42284b1a9d87afdf.tar.gz
cpython-2b8cf2f7541341afe2a7423d42284b1a9d87afdf.tar.bz2
Issue 10789: Correct threading.Lock.acquire signature.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/threading.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 910e49d..c9ef294 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -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.