From d917133a0922a438dc3cbffdbbdb09ad715f2874 Mon Sep 17 00:00:00 2001 From: jonathan vanasco Date: Wed, 21 May 2025 17:21:50 -0400 Subject: [PATCH] fix typo; see discussion here: https://github.com/Pylons/webob/pull/477 --- stubs/WebOb/webob/cookies.pyi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stubs/WebOb/webob/cookies.pyi b/stubs/WebOb/webob/cookies.pyi index 9cc7d7acf3fb..98914a2a70f7 100644 --- a/stubs/WebOb/webob/cookies.pyi +++ b/stubs/WebOb/webob/cookies.pyi @@ -27,8 +27,8 @@ _T = TypeVar("_T") _SameSitePolicy: TypeAlias = Literal["Strict", "Lax", "None", "strict", "lax", "none"] class _Serializer(Protocol): - def loads(self, appstruct: Any, /) -> bytes: ... - def dumps(self, bstruct: bytes, /) -> Any: ... + def dumps(self, appstruct: Any, /) -> bytes: ... + def loads(self, bstruct: bytes, /) -> Any: ... class RequestCookies(MutableMapping[str, str]): def __init__(self, environ: WSGIEnvironment) -> None: ...