Skip to content

Commit

Permalink
aiofiles: use ReadableBuffer (#10105)
Browse files Browse the repository at this point in the history
Part of #9006
  • Loading branch information
JelleZijlstra authored Apr 29, 2023
1 parent 9772c42 commit 17edf76
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions stubs/aiofiles/aiofiles/os.pyi
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import sys
from _typeshed import FileDescriptorOrPath, GenericPath, StrOrBytesPath
from _typeshed import FileDescriptorOrPath, GenericPath, ReadableBuffer, StrOrBytesPath
from asyncio.events import AbstractEventLoop
from collections.abc import Sequence
from os import _ScandirIterator, stat_result
Expand Down Expand Up @@ -68,8 +68,8 @@ if sys.platform != "win32":
in_fd: int,
offset: int,
count: int,
headers: Sequence[bytes] = ...,
trailers: Sequence[bytes] = ...,
headers: Sequence[ReadableBuffer] = ...,
trailers: Sequence[ReadableBuffer] = ...,
flags: int = ...,
*,
loop: AbstractEventLoop | None = ...,
Expand Down

0 comments on commit 17edf76

Please sign in to comment.