From c9bf034dd4d13193f7f0be2599a546bd3684a5ac Mon Sep 17 00:00:00 2001 From: Petter Friberg Date: Wed, 13 Sep 2023 12:07:02 +0200 Subject: [PATCH] Make `http.cookies.SimpleCookie` non-generic (#10701) --- stdlib/http/cookies.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/http/cookies.pyi b/stdlib/http/cookies.pyi index d92dbbdb59a6..3d19bb108c2d 100644 --- a/stdlib/http/cookies.pyi +++ b/stdlib/http/cookies.pyi @@ -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]): ...