mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-28 18:56:44 +08:00
stdlib: add __slots__ (#14611)
This commit is contained in:
@@ -14,6 +14,7 @@ _WriteBuffer: TypeAlias = bytearray | memoryview
|
||||
_CMSG: TypeAlias = tuple[int, int, bytes]
|
||||
|
||||
class TransportSocket:
|
||||
__slots__ = ("_sock",)
|
||||
def __init__(self, sock: socket.socket) -> None: ...
|
||||
@property
|
||||
def family(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user