summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2010-10-19 21:07:16 (GMT)
committerGeorg Brandl <georg@python.org>2010-10-19 21:07:16 (GMT)
commitf285bcca280bc3275b33fe78f3fb5a77efd66cb1 (patch)
treecbdfb0ce36f37d9ec3c6b8ee4703c7b96bec4243 /Doc/library
parent6dbed2e8b3fb90b25e2b99c5e522a5205626d07e (diff)
downloadcpython-f285bcca280bc3275b33fe78f3fb5a77efd66cb1.zip
cpython-f285bcca280bc3275b33fe78f3fb5a77efd66cb1.tar.gz
cpython-f285bcca280bc3275b33fe78f3fb5a77efd66cb1.tar.bz2
Be consistent in the spelling of thread-safe(ty).
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/locale.rst2
-rw-r--r--Doc/library/multiprocessing.rst2
-rw-r--r--Doc/library/runpy.rst2
-rw-r--r--Doc/library/threading.rst6
4 files changed, 6 insertions, 6 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index c15f7e3..a3a7b48 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -39,7 +39,7 @@ The :mod:`locale` module defines the following exception and functions:
If *locale* is omitted or ``None``, the current setting for *category* is
returned.
- :func:`setlocale` is not thread safe on most systems. Applications typically
+ :func:`setlocale` is not thread-safe on most systems. Applications typically
start with a call of ::
import locale
diff --git a/Doc/library/multiprocessing.rst b/Doc/library/multiprocessing.rst
index 65c64e1..aa1e752 100644
--- a/Doc/library/multiprocessing.rst
+++ b/Doc/library/multiprocessing.rst
@@ -214,7 +214,7 @@ However, if you really do need to use some shared data then
The ``'d'`` and ``'i'`` arguments used when creating ``num`` and ``arr`` are
typecodes of the kind used by the :mod:`array` module: ``'d'`` indicates a
double precision float and ``'i'`` indicates a signed integer. These shared
- objects will be process and thread safe.
+ objects will be process and thread-safe.
For more flexibility in using shared memory one can use the
:mod:`multiprocessing.sharedctypes` module which supports the creation of
diff --git a/Doc/library/runpy.rst b/Doc/library/runpy.rst
index 71f896f..896b65d 100644
--- a/Doc/library/runpy.rst
+++ b/Doc/library/runpy.rst
@@ -120,7 +120,7 @@ The :mod:`runpy` module provides two functions:
Note that, unlike :func:`run_module`, the alterations made to :mod:`sys`
are not optional in this function as these adjustments are essential to
- allowing the execution of sys.path entries. As the thread safety
+ allowing the execution of sys.path entries. As the thread-safety
limitations still apply, use of this function in threaded code should be
either serialised with the import lock or delegated to a separate process.
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
index 3419e65..3e2e1e3 100644
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -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