summaryrefslogtreecommitdiff
path: root/Python
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2004-08-01 23:26:05 +0000
committerTim Peters <tim.peters@gmail.com>2004-08-01 23:26:05 +0000
commit8f35c75c845a92e70cfe14982425a9e59fae9156 (patch)
tree1259c69e41b6b982f02713bf46ab33c3c6138057 /Python
parent6a953cf614a95e694827e89fce3791d5ac89c278 (diff)
downloadcpython-8f35c75c845a92e70cfe14982425a9e59fae9156.tar.gz
lock_held() docs: Use True/False instead of 1/0. The LaTeX docs were
already correct, so not changed here.
Diffstat (limited to 'Python')
-rw-r--r--Python/import.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Python/import.c b/Python/import.c
index aa16b194ac..aa0b5c2824 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -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.");
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\