Skip to content

Commit

Permalink
Make http.cookies.SimpleCookie non-generic (#10701)
Browse files Browse the repository at this point in the history
  • Loading branch information
Petter Friberg authored Sep 13, 2023
1 parent d88398b commit c9bf034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/http/cookies.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -57,4 +57,4 @@ class BaseCookie(dict[str, Morsel[_T]], Generic[_T]):
def load(self, rawdata: _DataType) -> None: ...
def __setitem__(self, key: str, value: str | Morsel[_T]) -> None: ...

class SimpleCookie(BaseCookie[_T], Generic[_T]): ...
class SimpleCookie(BaseCookie[str]): ...

0 comments on commit c9bf034

Please sign in to comment.