Commit 8f35c75c authored by Tim Peters's avatar Tim Peters

lock_held() docs: Use True/False instead of 1/0. The LaTeX docs were

already correct, so not changed here.
parent 6a953cf6
...@@ -2692,9 +2692,9 @@ Create a new module. Do not enter it in sys.modules.\n\ ...@@ -2692,9 +2692,9 @@ Create a new module. Do not enter it in sys.modules.\n\
The module name must include the full package name, if any."); The module name must include the full package name, if any.");
PyDoc_STRVAR(doc_lock_held, PyDoc_STRVAR(doc_lock_held,
"lock_held() -> 0 or 1\n\ "lock_held() -> boolean\n\
Return 1 if the import lock is currently held.\n\ Return True if the import lock is currently held, else False.\n\
On platforms without threads, return 0."); On platforms without threads, return False.");
PyDoc_STRVAR(doc_acquire_lock, PyDoc_STRVAR(doc_acquire_lock,
"acquire_lock() -> None\n\ "acquire_lock() -> None\n\
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment