Mercurial > cpython-lru_cache-weakref
diff Python/import.c @ 32879:d3d609d657fd legacy-trunk
lock_held() docs: Use True/False instead of 1/0. The LaTeX docs were
already correct, so not changed here.
| author | Tim Peters <tim.peters@gmail.com> |
|---|---|
| date | Sun, 01 Aug 2004 23:26:05 +0000 |
| parents | ca1aeb8ab380 |
| children | 331e60d8ce6d |
line wrap: on
line diff
--- a/Python/import.c Sun Aug 01 23:24:21 2004 +0000 +++ b/Python/import.c Sun Aug 01 23:26:05 2004 +0000 @@ -2692,9 +2692,9 @@ The module name must include the full package name, if any."); PyDoc_STRVAR(doc_lock_held, -"lock_held() -> 0 or 1\n\ -Return 1 if the import lock is currently held.\n\ -On platforms without threads, return 0."); +"lock_held() -> boolean\n\ +Return True if the import lock is currently held, else False.\n\ +On platforms without threads, return False."); PyDoc_STRVAR(doc_acquire_lock, "acquire_lock() -> None\n\
