From 8cad322a8ccf4b104cafbac2c798413edaa4f327 Mon Sep 17 00:00:00 2001 From: Mesco Date: Wed, 6 Jan 2021 17:36:05 +0100 Subject: [PATCH] add _quote and _unquote to http.cookies stub (#4914) --- stdlib/3/http/cookies.pyi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stdlib/3/http/cookies.pyi b/stdlib/3/http/cookies.pyi index fe2b4f927..9c615a6d5 100644 --- a/stdlib/3/http/cookies.pyi +++ b/stdlib/3/http/cookies.pyi @@ -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]):