Skip to content

Commit

Permalink
Just for this test, omitting Header to reduce irrelevant primer results
Browse files Browse the repository at this point in the history
  • Loading branch information
Avasam committed Dec 7, 2023
1 parent 1ba33d7 commit 4c3e33f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/email/message.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class Message:
def __iter__(self) -> Iterator[str]: ...
# Same as `get` with `failobj=None`, but with the expectation that it won't return None in most scenarios
# This is important for protocols using __getitem__, like SupportsKeysAndGetItem
def __getitem__(self, name: str) -> str | Header | Any: ... # AnyOf[_HeaderType, None]
def __getitem__(self, name: str) -> str | Any: ... # Just for this test, omitting Header to reduce irrelevant primer results
def __setitem__(self, name: str, val: _HeaderTypeParam) -> None: ...
def __delitem__(self, name: str) -> None: ...
def keys(self) -> list[str]: ...
Expand Down

0 comments on commit 4c3e33f

Please sign in to comment.