diff Modules/_threadmodule.c @ 82004:b414b2dfd3d3 3.3

merge #17091: update docstring for _thread.Lock.acquire.
author R David Murray <rdmurray@bitdance.com>
date Mon, 04 Feb 2013 10:22:39 -0500
parents dfc7fd24983a 0cc51c04aa20
children a80abb179ba1
line wrap: on
line diff
--- a/Modules/_threadmodule.c	Mon Feb 04 16:56:23 2013 +0200
+++ b/Modules/_threadmodule.c	Mon Feb 04 10:22:39 2013 -0500
@@ -145,12 +145,12 @@
 }
 
 PyDoc_STRVAR(acquire_doc,
-"acquire([wait]) -> None or bool\n\
+"acquire([wait]) -> bool\n\
 (acquire_lock() is an obsolete synonym)\n\
 \n\
 Lock the lock.  Without argument, this blocks if the lock is already\n\
 locked (even by the same thread), waiting for another thread to release\n\
-the lock, and return None once the lock is acquired.\n\
+the lock, and return True once the lock is acquired.\n\
 With an argument, this will only block if the argument is true,\n\
 and the return value reflects whether the lock is acquired.\n\
 The blocking operation is interruptible.");