make http.cookies.{Base,Simple}Cookie instantiable (#2116)

Part of #1476.
This commit is contained in:
Jelle Zijlstra
2018-06-11 14:01:17 -07:00
committed by Guido van Rossum
parent a33a124537
commit 28f6c095d4

View File

@@ -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: ...