mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Be consistent in the spelling of thread-safe(ty).
This commit is contained in:
parent
6dbed2e8b3
commit
f285bcca28
5 changed files with 7 additions and 7 deletions
|
@ -789,9 +789,9 @@ Currently, :class:`Lock`, :class:`RLock`, :class:`Condition`,
|
|||
Importing in threaded code
|
||||
--------------------------
|
||||
|
||||
While the import machinery is thread safe, there are two key
|
||||
restrictions on threaded imports due to inherent limitations in the way
|
||||
that thread safety is provided:
|
||||
While the import machinery is thread-safe, there are two key restrictions on
|
||||
threaded imports due to inherent limitations in the way that thread-safety is
|
||||
provided:
|
||||
|
||||
* Firstly, other than in the main module, an import should not have the
|
||||
side effect of spawning a new thread and then waiting for that thread in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue