Various py311 removals (#7836)

This commit is contained in:
Alex Waygood authored and GitHub committed 2022-05-16 17:28:13 -07:00
1 parent 87abd8a39f
commit e9526faf40
7 files changed
+25 -16

No files matched your search

+1 -1
View File
@@ -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: ...