From: Ezio Melotti Date: Fri, 18 Jan 2013 17:55:46 +0000 (+0200) Subject: #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe. X-Git-Tag: v3.2.4rc1~213 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ff12fae80e15ad29ae2557d23e70f6ff9365b31f;p=thirdparty%2FPython%2Fcpython.git #16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe. --- diff --git a/Doc/library/threading.rst b/Doc/library/threading.rst index 43087ef153ad..4a0121168711 100644 --- a/Doc/library/threading.rst +++ b/Doc/library/threading.rst @@ -22,10 +22,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` or :class:`concurrent.futures.ProcessPoolExecutor`. However, threading is still an appropriate model if you want to run