Skip to content

Commit 3e26a91

Browse files
authored
[webob-stubs] Fix _Serializer protocol (#14116)
1 parent 0b1ee93 commit 3e26a91

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

stubs/WebOb/webob/cookies.pyi

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,8 @@ _T = TypeVar("_T")
2727
_SameSitePolicy: TypeAlias = Literal["Strict", "Lax", "None", "strict", "lax", "none"]
2828

2929
class _Serializer(Protocol):
30-
def loads(self, appstruct: Any, /) -> bytes: ...
31-
def dumps(self, bstruct: bytes, /) -> Any: ...
30+
def dumps(self, appstruct: Any, /) -> bytes: ...
31+
def loads(self, bstruct: bytes, /) -> Any: ...
3232

3333
class RequestCookies(MutableMapping[str, str]):
3434
def __init__(self, environ: WSGIEnvironment) -> None: ...

0 commit comments

Comments
 (0)