[Python-checkins] cpython (3.2): #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
ezio.melotti
python-checkins at python.org
Fri Jan 18 18:59:36 CET 2013
http://hg.python.org/cpython/rev/4a1a88d25fec
changeset: 81577:4a1a88d25fec
branch: 3.2
parent: 81573:bd0c60461324
user: Ezio Melotti <ezio.melotti at gmail.com>
date: Fri Jan 18 19:55:46 2013 +0200
summary:
#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
files:
Doc/library/threading.rst | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst
--- a/Doc/library/threading.rst
+++ b/Doc/library/threading.rst
@@ -22,10 +22,10 @@
.. 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` or :class:`concurrent.futures.ProcessPoolExecutor`.
However, threading is still an appropriate model if you want to run
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list