mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-09 23:05:50 +08:00
stdlib: add __slots__ (#14611)
This commit is contained in:
1 parent
28abff1eb3
commit
f32d9f08bd
38 files changed
+247
-12
No files matched your search
@@ -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