[Python-checkins] cpython (2.7): #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.

ezio.melotti python-checkins at python.org
Fri Jan 18 18:59:35 CET 2013


http://hg.python.org/cpython/rev/8886d7ca159b
changeset:   81576:8886d7ca159b
branch:      2.7
parent:      81572:2a3884b6ffb5
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
@@ -31,10 +31,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`. However, threading is still an appropriate model
    if you want to run multiple I/O-bound tasks simultaneously.

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list