We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9772c42 commit 17edf76Copy full SHA for 17edf76
stubs/aiofiles/aiofiles/os.pyi
@@ -1,5 +1,5 @@
1
import sys
2
-from _typeshed import FileDescriptorOrPath, GenericPath, StrOrBytesPath
+from _typeshed import FileDescriptorOrPath, GenericPath, ReadableBuffer, StrOrBytesPath
3
from asyncio.events import AbstractEventLoop
4
from collections.abc import Sequence
5
from os import _ScandirIterator, stat_result
@@ -68,8 +68,8 @@ if sys.platform != "win32":
68
in_fd: int,
69
offset: int,
70
count: int,
71
- headers: Sequence[bytes] = ...,
72
- trailers: Sequence[bytes] = ...,
+ headers: Sequence[ReadableBuffer] = ...,
+ trailers: Sequence[ReadableBuffer] = ...,
73
flags: int = ...,
74
*,
75
loop: AbstractEventLoop | None = ...,
0 commit comments