mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-18 09:55:59 +08:00
add _quote and _unquote to http.cookies stub (#4914)
This commit is contained in:
@@ -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]):
|
||||
|
||||
Reference in New Issue
Block a user