add _quote and _unquote to http.cookies stub (#4914)

This commit is contained in:
Mesco
2021-01-06 17:36:05 +01:00
committed by GitHub
parent eaf29453fc
commit 8cad322a8c

View File

@@ -4,6 +4,9 @@ from typing import Any, Dict, Generic, List, Mapping, Optional, TypeVar, Union
_DataType = Union[str, Mapping[str, Union[str, Morsel[Any]]]]
_T = TypeVar("_T")
def _quote(str: str) -> str: ...
def _unquote(str: str) -> str: ...
class CookieError(Exception): ...
class Morsel(Dict[str, Any], Generic[_T]):