mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-04 08:58:44 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
1 parent
573b57d8da
commit
ca44e4c45d
135 files changed
+675
-25
No files matched your search
@@ -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: ...
|
||||
|
||||
Reference in new issue
Block a user