Add missing __slots__ to third-party packages (#15454)

This commit is contained in:
Semyon Moroz
2026-02-22 20:08:46 +01:00
committed by GitHub
parent 9a9cc1834d
commit b43fc8f6f3
11 changed files with 54 additions and 2 deletions
+2
View File
@@ -271,6 +271,7 @@ class RingBuffer:
def size(self) -> int: ...
class Status:
__slots__ = "_code"
def __init__(self, code: int) -> None: ...
@property
def failure(self) -> bool: ...
@@ -300,6 +301,7 @@ class Status:
def client_zombie(self) -> bool: ...
class TransportState:
__slots__ = "_code"
def __init__(self, code: int) -> None: ...
def __eq__(self, other: object) -> bool: ...
def __hash__(self) -> int: ...