Skip to content

Commit 35a3ae3

Browse files
wavebyrdclaude
andcommitted
docs: remove unnecessary backrefs and interface mentions
Address review feedback: - Remove backref in MemoryChannelStatistics docstring - Remove "implements interface" lines from Send/ReceiveChannel Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 94de8a2 commit 35a3ae3

1 file changed

Lines changed: 0 additions & 7 deletions

File tree

src/trio/_channel.py

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,6 @@ def __init__(self, max_buffer_size: int | float) -> None: # noqa: PYI041
120120
class MemoryChannelStatistics:
121121
"""Statistics about a memory channel.
122122
123-
This object is returned by the ``statistics()`` method on
124-
:class:`MemorySendChannel` and :class:`MemoryReceiveChannel`.
125-
126123
Attributes:
127124
current_buffer_used: The number of items currently stored in the
128125
channel buffer.
@@ -177,8 +174,6 @@ class MemorySendChannel(SendChannel[SendType], metaclass=NoPublicConstructor):
177174
Memory channels are created using :func:`open_memory_channel`, which
178175
returns a pair of (:class:`MemorySendChannel`, :class:`MemoryReceiveChannel`).
179176
See :func:`open_memory_channel` for full documentation.
180-
181-
This implements the :class:`~trio.abc.SendChannel` interface.
182177
"""
183178

184179
_state: MemoryChannelState[SendType]
@@ -334,8 +329,6 @@ class MemoryReceiveChannel(ReceiveChannel[ReceiveType], metaclass=NoPublicConstr
334329
Memory channels are created using :func:`open_memory_channel`, which
335330
returns a pair of (:class:`MemorySendChannel`, :class:`MemoryReceiveChannel`).
336331
See :func:`open_memory_channel` for full documentation.
337-
338-
This implements the :class:`~trio.abc.ReceiveChannel` interface.
339332
"""
340333

341334
_state: MemoryChannelState[ReceiveType]

0 commit comments

Comments
 (0)