diff options
author | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-18 17:55:46 (GMT) |
---|---|---|
committer | Ezio Melotti <ezio.melotti@gmail.com> | 2013-01-18 17:55:46 (GMT) |
commit | 9e0f462cb2f98982013b9336d9315ec80f42cbdd (patch) | |
tree | 6ffd10046fa65dc2c46118b78637075cd139eaa7 | |
parent | a670fcc69238f8afd1cee7b41c3a9241e9f4ec75 (diff) | |
download | cpython-9e0f462cb2f98982013b9336d9315ec80f42cbdd.zip cpython-9e0f462cb2f98982013b9336d9315ec80f42cbdd.tar.gz cpython-9e0f462cb2f98982013b9336d9315ec80f42cbdd.tar.bz2 |
#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
-rw-r--r-- | Doc/library/threading.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 44e4d6d..dee765a 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -31,10 +31,10 @@ The :mod:`dummy_threading` module is provided for situations where .. impl-detail:: - Due to the :term:`Global Interpreter Lock`, in CPython only one thread + In CPython, due to the :term:`Global Interpreter Lock`, only one thread can execute Python code at once (even though certain performance-oriented libraries might overcome this limitation). - If you want your application to make better of use of the computational + If you want your application to make better use of the computational resources of multi-core machines, you are advised to use :mod:`multiprocessing`. However, threading is still an appropriate model if you want to run multiple I/O-bound tasks simultaneously. |