Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ff12fae

Browse files
committed
#16978: rephrase sentence and fix typo. Initial patch by Tshepang Lekhonkhobe.
1 parent 288234f commit ff12fae

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/library/threading.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ The :mod:`dummy_threading` module is provided for situations where
2222

2323
.. impl-detail::
2424

25-
Due to the :term:`Global Interpreter Lock`, in CPython only one thread
25+
In CPython, due to the :term:`Global Interpreter Lock`, only one thread
2626
can execute Python code at once (even though certain performance-oriented
2727
libraries might overcome this limitation).
28-
If you want your application to make better of use of the computational
28+
If you want your application to make better use of the computational
2929
resources of multi-core machines, you are advised to use
3030
:mod:`multiprocessing` or :class:`concurrent.futures.ProcessPoolExecutor`.
3131
However, threading is still an appropriate model if you want to run

0 commit comments

Comments
 (0)