mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-09 05:24:52 +08:00
Various py311 removals (#7836)
This commit is contained in:
@@ -123,7 +123,6 @@ class SSLProtocol(protocols.Protocol):
|
||||
def connection_lost(self, exc: BaseException | None) -> None: ...
|
||||
def pause_writing(self) -> None: ...
|
||||
def resume_writing(self) -> None: ...
|
||||
def data_received(self, data: bytes) -> None: ...
|
||||
def eof_received(self) -> None: ...
|
||||
def _get_extra_info(self, name: str, default: Any | None = ...) -> Any: ...
|
||||
def _start_shutdown(self) -> None: ...
|
||||
@@ -133,7 +132,9 @@ class SSLProtocol(protocols.Protocol):
|
||||
def _check_handshake_timeout(self) -> None: ...
|
||||
|
||||
def _on_handshake_complete(self, handshake_exc: BaseException | None) -> None: ...
|
||||
def _process_write_backlog(self) -> None: ...
|
||||
def _fatal_error(self, exc: BaseException, message: str = ...) -> None: ...
|
||||
def _finalize(self) -> None: ...
|
||||
def _abort(self) -> None: ...
|
||||
if sys.version_info < (3, 11):
|
||||
def _finalize(self) -> None: ...
|
||||
def _process_write_backlog(self) -> None: ...
|
||||
def data_received(self, data: bytes) -> None: ...
|
||||
|
||||
@@ -14,7 +14,6 @@ _CMSG: TypeAlias = tuple[int, int, bytes]
|
||||
|
||||
class TransportSocket:
|
||||
def __init__(self, sock: socket.socket) -> None: ...
|
||||
def _na(self, what: str) -> None: ...
|
||||
@property
|
||||
def family(self) -> int: ...
|
||||
@property
|
||||
@@ -41,6 +40,7 @@ class TransportSocket:
|
||||
def gettimeout(self) -> float | None: ...
|
||||
def setblocking(self, flag: bool) -> None: ...
|
||||
if sys.version_info < (3, 11):
|
||||
def _na(self, what: str) -> None: ...
|
||||
def accept(self) -> tuple[socket.socket, _RetAddress]: ...
|
||||
def connect(self, address: _Address | bytes) -> None: ...
|
||||
def connect_ex(self, address: _Address | bytes) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user