Skip to content

Commit 17edf76

Browse files
aiofiles: use ReadableBuffer (#10105)
Part of #9006
1 parent 9772c42 commit 17edf76

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

stubs/aiofiles/aiofiles/os.pyi

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import sys
2-
from _typeshed import FileDescriptorOrPath, GenericPath, StrOrBytesPath
2+
from _typeshed import FileDescriptorOrPath, GenericPath, ReadableBuffer, StrOrBytesPath
33
from asyncio.events import AbstractEventLoop
44
from collections.abc import Sequence
55
from os import _ScandirIterator, stat_result
@@ -68,8 +68,8 @@ if sys.platform != "win32":
6868
in_fd: int,
6969
offset: int,
7070
count: int,
71-
headers: Sequence[bytes] = ...,
72-
trailers: Sequence[bytes] = ...,
71+
headers: Sequence[ReadableBuffer] = ...,
72+
trailers: Sequence[ReadableBuffer] = ...,
7373
flags: int = ...,
7474
*,
7575
loop: AbstractEventLoop | None = ...,

0 commit comments

Comments
 (0)