Skip to content

Commit

Permalink
add _quote and _unquote to http.cookies stub (python#4914)
Browse files Browse the repository at this point in the history
  • Loading branch information
UncleGoogle committed Jan 6, 2021
1 parent eaf2945 commit 8cad322
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions stdlib/3/http/cookies.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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]):
Expand Down

0 comments on commit 8cad322

Please sign in to comment.