mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-07-19 22:50:29 +08:00
Add __slots__ to third-party packages using stubdefaulter (#14619)
This commit is contained in:
@@ -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