Skip to content

Commit 5e9f649

Browse files
Apply suggestions from code review
Co-authored-by: Stan Ulbrych <[email protected]>
1 parent 654ef89 commit 5e9f649

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Doc/library/concurrent.interpreters.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -233,7 +233,7 @@ This module defines the following functions:
233233
object for it.
234234

235235
*maxsize* is an integer that sets the upperbound limit on the number of
236-
items that can be placed in the queue. Insertion will block once this
236+
items that can be placed in the queue. Insertion will be blocked once this
237237
size has been reached, until queue items are consumed. If *maxsize* is
238238
less than or equal to zero, the queue size is infinite.
239239

@@ -352,7 +352,7 @@ Communicating Between Interpreters
352352

353353
.. method:: put(obj, block=True, timeout=None, *, unbounditems=None)
354354

355-
Add the object to the queue.
355+
Add the object *obj* to the queue.
356356

357357
This method behaves like :meth:`queue.Queue.put`, with the additional
358358
*unbounditems* parameter. See :func:`create_queue` for details on
@@ -361,7 +361,7 @@ Communicating Between Interpreters
361361

362362
.. method:: put_nowait(obj, *, unbounditems=None)
363363

364-
Add the object to the queue without blocking.
364+
Add the object *obj* to the queue without blocking.
365365

366366
This method behaves like :meth:`queue.Queue.put_nowait`, with the
367367
additional *unbounditems* parameter. See :func:`create_queue` for
@@ -383,7 +383,7 @@ Communicating Between Interpreters
383383

384384
.. exception:: ItemInterpreterDestroyed
385385

386-
This exception, a subclass of :exc:`QueueError`, is raised from
386+
This exception, a subclass of :exc:`QueueError`, is raised by
387387
:meth:`!Queue.get` and :meth:`!Queue.get_nowait` when the original
388388
interpreter that put an item into the queue has been destroyed and
389389
the queue was created with ``unbounditems=UNBOUND_ERROR``.

0 commit comments

Comments
 (0)