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 ........
This commit is contained in:
parent
3e8230d50c
commit
78b1bf3664
|
@ -116,8 +116,7 @@ This module provides an interface to the mechanisms used to implement the
|
||||||
.. function:: acquire_lock()
|
.. function:: acquire_lock()
|
||||||
|
|
||||||
Acquire the interpreter's import lock for the current thread. This lock should
|
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
|
be used by import hooks to ensure thread-safety when importing modules.
|
||||||
platforms without threads, this function does nothing.
|
|
||||||
|
|
||||||
Once a thread has acquired the import lock, the same thread may acquire it
|
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
|
again without blocking; the thread must release it once for each time it has
|
||||||
|
|
Loading…
Reference in New Issue