diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-09-13 01:48:02 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-09-13 01:48:02 +0000 |
commit | 78b1bf366494dc5439d6525879098cf250eff485 (patch) | |
tree | deecb0ad7de38c62eb4749a9668c758763c4f5c2 | |
parent | 3e8230d50cecc7638880e47d9cff42260fe9baee (diff) | |
download | cpython-git-78b1bf366494dc5439d6525879098cf250eff485.tar.gz |
Merged revisions 84754 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84754 | benjamin.peterson | 2010-09-12 20:25:38 -0500 (Sun, 12 Sep 2010) | 1 line
remove duplicate statement
........
-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 |