diff --git a/src/trio/_ssl.py b/src/trio/_ssl.py index 7ed873b54..8d06297ea 100644 --- a/src/trio/_ssl.py +++ b/src/trio/_ssl.py @@ -894,7 +894,7 @@ async def wait_send_all_might_not_block(self) -> None: # this is necessary for Sphinx, see also `_abc.py` -SSLStream.__module__ = SSLStream.__module__.replace("_ssl", "ssl") +SSLStream.__module__ = SSLStream.__module__.replace("._ssl", "") @final