Skip to content

Commit de61926

Browse files
committed
calling -> instantiating
1 parent 881a347 commit de61926

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

Doc/library/multiprocessing.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -878,7 +878,7 @@ For an example of the usage of queues for interprocess communication see
878878
locks/semaphores. When a process first puts an item on the queue a feeder
879879
thread is started which transfers objects from a buffer into the pipe.
880880

881-
Calling this may set the global start method. See
881+
Instantiating this class may set the global start method. See
882882
:ref:`global-start-method` for more details.
883883

884884
The usual :exc:`queue.Empty` and :exc:`queue.Full` exceptions from the
@@ -991,7 +991,7 @@ For an example of the usage of queues for interprocess communication see
991991

992992
It is a simplified :class:`Queue` type, very close to a locked :class:`Pipe`.
993993

994-
Calling this may set the global start method. See
994+
Instantiating this class may set the global start method. See
995995
:ref:`global-start-method` for more details.
996996

997997
.. method:: close()
@@ -1024,7 +1024,7 @@ For an example of the usage of queues for interprocess communication see
10241024
:class:`JoinableQueue`, a :class:`Queue` subclass, is a queue which
10251025
additionally has :meth:`task_done` and :meth:`join` methods.
10261026

1027-
Calling this may set the global start method. See
1027+
Instantiating this class may set the global start method. See
10281028
:ref:`global-start-method` for more details.
10291029

10301030
.. method:: task_done()
@@ -1380,7 +1380,7 @@ object -- see :ref:`multiprocessing-managers`.
13801380

13811381
A barrier object: a clone of :class:`threading.Barrier`.
13821382

1383-
Calling this may set the global start method. See
1383+
Instantiating this class may set the global start method. See
13841384
:ref:`global-start-method` for more details.
13851385

13861386
.. versionadded:: 3.3
@@ -1390,7 +1390,7 @@ object -- see :ref:`multiprocessing-managers`.
13901390
A bounded semaphore object: a close analog of
13911391
:class:`threading.BoundedSemaphore`.
13921392

1393-
Calling this may set the global start method. See
1393+
Instantiating this class may set the global start method. See
13941394
:ref:`global-start-method` for more details.
13951395

13961396
A solitary difference from its close analog exists: its ``acquire`` method's
@@ -1413,7 +1413,7 @@ object -- see :ref:`multiprocessing-managers`.
14131413
If *lock* is specified then it should be a :class:`Lock` or :class:`RLock`
14141414
object from :mod:`multiprocessing`.
14151415

1416-
Calling this may set the global start method. See
1416+
Instantiating this class may set the global start method. See
14171417
:ref:`global-start-method` for more details.
14181418

14191419
.. versionchanged:: 3.3
@@ -1423,7 +1423,7 @@ object -- see :ref:`multiprocessing-managers`.
14231423

14241424
A clone of :class:`threading.Event`.
14251425

1426-
Calling this may set the global start method. See
1426+
Instantiating this class may set the global start method. See
14271427
:ref:`global-start-method` for more details.
14281428

14291429
.. class:: Lock()
@@ -1440,7 +1440,7 @@ object -- see :ref:`multiprocessing-managers`.
14401440
instance of ``multiprocessing.synchronize.Lock`` initialized with a
14411441
default context.
14421442

1443-
Calling this may set the global start method. See
1443+
Instantiating this class may set the global start method. See
14441444
:ref:`global-start-method` for more details.
14451445

14461446
:class:`Lock` supports the :term:`context manager` protocol and thus may be
@@ -1500,7 +1500,7 @@ object -- see :ref:`multiprocessing-managers`.
15001500
instance of ``multiprocessing.synchronize.RLock`` initialized with a
15011501
default context.
15021502

1503-
Calling this may set the global start method. See
1503+
Instantiating this class may set the global start method. See
15041504
:ref:`global-start-method` for more details.
15051505

15061506
:class:`RLock` supports the :term:`context manager` protocol and thus may be
@@ -1562,7 +1562,7 @@ object -- see :ref:`multiprocessing-managers`.
15621562

15631563
A semaphore object: a close analog of :class:`threading.Semaphore`.
15641564

1565-
Calling this may set the global start method. See
1565+
Instantiating this class may set the global start method. See
15661566
:ref:`global-start-method` for more details.
15671567

15681568
A solitary difference from its close analog exists: its ``acquire`` method's

0 commit comments

Comments
 (0)