mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-08 05:04:44 +08:00
email: improve bytes handling (#9032)
This commit is contained in:
1 parent
3e46f9a9ee
commit
7ab933f3c3
10 files changed
+26
-19
No files matched your search
@@ -20,5 +20,5 @@ class BytesFeedParser(Generic[_MessageT]):
|
||||
def __init__(self: BytesFeedParser[Message], _factory: None = ..., *, policy: Policy = ...) -> None: ...
|
||||
@overload
|
||||
def __init__(self, _factory: Callable[[], _MessageT], *, policy: Policy = ...) -> None: ...
|
||||
def feed(self, data: bytes) -> None: ...
|
||||
def feed(self, data: bytes | bytearray) -> None: ...
|
||||
def close(self) -> _MessageT: ...
|
||||
Reference in new issue
Block a user