Add __slots__ to third-party packages using stubdefaulter (#14619)

This commit is contained in:
Jelle Zijlstra
2025-08-21 15:38:13 -07:00
committed by GitHub
parent 573b57d8da
commit ca44e4c45d
135 changed files with 675 additions and 25 deletions
+1
View File
@@ -60,6 +60,7 @@ class Cookie(dict[bytes, Morsel]):
def __str__(self, full: bool = True) -> str: ...
class Morsel(dict[bytes, bytes | bool | None]):
__slots__ = ("name", "value")
name: bytes
value: bytes
def __init__(self, name: str | bytes, value: str | bytes) -> None: ...