diff --git a/stdlib/http/cookies.pyi b/stdlib/http/cookies.pyi index 682884423448..5434f8b8db7d 100644 --- a/stdlib/http/cookies.pyi +++ b/stdlib/http/cookies.pyi @@ -28,6 +28,7 @@ class Morsel(dict[str, Any], Generic[_T]): @property def key(self) -> str | MaybeNone: ... def __init__(self) -> None: ... + def copy(self) -> Morsel[_T]: ... def set(self, key: str, val: str, coded_val: _T) -> None: ... def setdefault(self, key: str, val: str | None = None) -> str: ... # The dict update can also get a keywords argument so this is incompatible