diff --git a/trio-stubs/__init__.pyi b/trio-stubs/__init__.pyi index e442378..b2c66ab 100644 --- a/trio-stubs/__init__.pyi +++ b/trio-stubs/__init__.pyi @@ -473,10 +473,10 @@ class DTLSChannel(_NotConstructible, trio.abc.Channel[bytes], metaclass=ABCMeta) async def receive(self) -> bytes: ... def set_ciphertext_mtu(self, new_mtu: int) -> None: ... def get_cleartext_mtu(self) -> int: ... - def statistics(self) -> Any: ... + def statistics(self) -> DTLSChannelStatistics: ... async def aclose(self) -> None: ... def close(self) -> None: ... - def __enter__(self) -> DTLSChannelStatistics: ... + def __enter__(self) -> DTLSChannel: ... def __exit__( self, exc_type: type[BaseException] | None,