10000 Allow memoryview[bytes] in write() and writelines() by Dreamsorcerer · Pull Request #13519 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Allow memoryview[bytes] in write() and writelines() #13519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Mar 20, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update transports.pyi
  • Loading branch information
Dreamsorcerer authored Feb 21, 2025
commit 2df164c0c49a8d3f48ec3fd5d6c5b5a32cf29928
2 changes: 1 addition & 1 deletion stdlib/asyncio/transports.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class WriteTransport(BaseTransport):
def get_write_buffer_size(self) -> int: ...
def get_write_buffer_limits(self) -> tuple[int, int]: ...
def write(self, data: ReadableBuffer) -> None: ...
def writelines(self, list_of_data: Iterable[ReadableBuffer]]) -> None: ...
def writelines(self, list_of_data: Iterable[ReadableBuffer]) -> None: ...
def write_eof(self) -> None: ...
def can_write_eof(self) -> bool: ...
def abort(self) -> None: ...
Expand Down
Loading
0