Skip to content

Commit 5da539a

Browse files
committed
Another round of feedback
1 parent 8407f36 commit 5da539a

File tree

1 file changed

+8
-14
lines changed

1 file changed

+8
-14
lines changed

Doc/glossary.rst

Lines changed: 8 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -298,13 +298,14 @@ Glossary
298298
it's almost certain you can safely ignore them.
299299

300300
concurrency
301-
The ability of different parts of a program to be executed out-of-order
302-
or in partial order without affecting the outcome. This allows for
303-
multiple tasks to make progress during overlapping time periods, though
304-
not necessarily simultaneously. In Python, concurrency can be achieved
305-
through :mod:`threading` (using OS threads), :mod:`asyncio` (cooperative
306-
multitasking), or :mod:`multiprocessing` (separate processes).
307-
See also :term:`parallelism`.
301+
The ability of a computer program to perform multiple tasks at the same
302+
time. Python provides libraries for writing programs that make use of
303+
different forms of concurrency. :mod:`asyncio` is a library for dealing
304+
with asynchronous tasks and coroutines. :mod:`threading`` provides
305+
access to operating system threads and :mod:`multiprocessing` to
306+
operating system processes. Multi-core processors can execute threads and
307+
processes on different CPU cores at the same time (see
308+
:term:`parallelism`).
308309

309310
concurrent modification
310311
When multiple threads modify shared data at the same time without
@@ -1227,13 +1228,6 @@ Glossary
12271228
:class:`str` or :class:`bytes` result instead, respectively. Introduced
12281229
by :pep:`519`.
12291230

1230-
per-module state
1231-
State that is stored separately for each instance of a module, rather
1232-
than in :term:`global state`. Per-module state is accessed through the
1233-
module object rather than through C static variables.
1234-
See :ref:`isolating-extensions-howto` for more information. See also
1235-
:term:`global state`.
1236-
12371231
PEP
12381232
Python Enhancement Proposal. A PEP is a design document
12391233
providing information to the Python community, or describing a new

0 commit comments

Comments
 (0)