diff --git a/stdlib/_socket.pyi b/stdlib/_socket.pyi index 846f64d5a433..82898177286b 100644 --- a/stdlib/_socket.pyi +++ b/stdlib/_socket.pyi @@ -527,6 +527,8 @@ class socket: family: int type: int proto: int + @property + def timeout(self) -> float | None: ... def __init__(self, family: int = ..., type: int = ..., proto: int = ..., fileno: _FD | None = ...) -> None: ... def bind(self, __address: _Address | bytes) -> None: ... def close(self) -> None: ...