From 28f6c095d4044f0cd99aca7ac3ac42a94c4a340f Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Mon, 11 Jun 2018 14:01:17 -0700 Subject: [PATCH] make http.cookies.{Base,Simple}Cookie instantiable (#2116) Part of #1476. --- stdlib/3/http/cookies.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/3/http/cookies.pyi b/stdlib/3/http/cookies.pyi index b693aa7f7..78223a7d8 100644 --- a/stdlib/3/http/cookies.pyi +++ b/stdlib/3/http/cookies.pyi @@ -18,7 +18,7 @@ class Morsel(Dict[str, str], Generic[_T]): def js_output(self, attrs: Optional[List[str]] = ...) -> str: ... def OutputString(self, attrs: Optional[List[str]] = ...) -> str: ... -class BaseCookie(MutableMapping[str, Morsel], Generic[_T]): +class BaseCookie(Dict[str, Morsel], Generic[_T]): def __init__(self, input: Optional[_DataType] = ...) -> None: ... def value_decode(self, val: str) -> _T: ... def value_encode(self, val: _T) -> str: ...