From 422e842a14390697823c4771c7d7f62611bfbf30 Mon Sep 17 00:00:00 2001 From: A5rocks Date: Fri, 23 Aug 2024 14:16:22 +0900 Subject: [PATCH] Reference SSLStream correctly --- src/trio/_ssl.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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