Skip to content

Commit 3abed07

Browse files
mvanhornclaude
andcommitted
Fix Sphinx cross-reference warnings for internal queue constants
UNBOUND, UNBOUND_ERROR, UNBOUND_REMOVE, and ItemInterpreterDestroyed are not in the module's public __all__, so use literal backticks instead of :data: and :exc: roles. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent be8cc87 commit 3abed07

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
@@ -430,11 +430,11 @@ Communicating Between Interpreters
430430
been destroyed. If ``None`` (the default), the queue's default
431431
(set via :func:`create_queue`) is used. Supported values:
432432

433-
* :data:`UNBOUND` -- :meth:`get` returns the :data:`UNBOUND`
433+
* ``UNBOUND`` -- :meth:`get` returns the ``UNBOUND``
434434
sentinel in place of the original object.
435-
* :data:`UNBOUND_ERROR` -- :meth:`get` raises
436-
:exc:`ItemInterpreterDestroyed`.
437-
* :data:`UNBOUND_REMOVE` -- the item is silently removed from
435+
* ``UNBOUND_ERROR`` -- :meth:`get` raises
436+
``ItemInterpreterDestroyed``.
437+
* ``UNBOUND_REMOVE`` -- the item is silently removed from
438438
the queue when the original interpreter is destroyed.
439439

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

0 commit comments

Comments
 (0)