diff options
-rw-r--r-- | Doc/library/imp.rst | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Doc/library/imp.rst b/Doc/library/imp.rst index cf4655b9f0..607dd1446d 100644 --- a/Doc/library/imp.rst +++ b/Doc/library/imp.rst @@ -116,8 +116,7 @@ This module provides an interface to the mechanisms used to implement the .. function:: acquire_lock() Acquire the interpreter's import lock for the current thread. This lock should - be used by import hooks to ensure thread-safety when importing modules. On - platforms without threads, this function does nothing. + be used by import hooks to ensure thread-safety when importing modules. Once a thread has acquired the import lock, the same thread may acquire it again without blocking; the thread must release it once for each time it has |