Skip to content

Commit 54c94dd

Browse files
author
nightcityblade
committed
fix: correct :ref:channel to :ref:channels in docstrings
The labels in reference-core.rst use 'channels' (plural), but the MemorySendChannel and MemoryReceiveChannel docstrings referenced 'channel' (singular), causing RTD build warnings.
1 parent dcfa304 commit 54c94dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/trio/_channel.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ class MemorySendChannel(SendChannel[SendType], metaclass=NoPublicConstructor):
171171
"""The send end of a memory channel, created by
172172
:func:`open_memory_channel`.
173173
174-
See :ref:`channel` for details. This implements the
174+
See :ref:`channels` for details. This implements the
175175
:class:`trio.abc.SendChannel` interface.
176176
177177
"""
@@ -327,7 +327,7 @@ class MemoryReceiveChannel(ReceiveChannel[ReceiveType], metaclass=NoPublicConstr
327327
"""The receive end of a memory channel, created by
328328
:func:`open_memory_channel`.
329329
330-
See :ref:`channel` for details. This implements the
330+
See :ref:`channels` for details. This implements the
331331
:class:`trio.abc.ReceiveChannel` interface.
332332
333333
"""

0 commit comments

Comments
 (0)