8000 typing: accept buffers in typing.IO.write by JelleZijlstra · Pull Request #9084 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

typing: accept buffers in typing.IO.write #9084

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

Closed
wants to merge 17 commits into from
Closed
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
[pre-commit.ci] auto fixes from pre-commit.com hooks
  • Loading branch information
pre-commit-ci[bot] committed Mar 10, 2023
commit b6174cb41b2eda5f37116c3717ba934ee6d61309
2 changes: 1 addition & 1 deletion test_cases/stdlib/typing/check_io.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import pickle
from typing import AnyStr, IO
from typing import IO, AnyStr


def check_write(io_bytes: IO[bytes], io_str: IO[str], io_anystr: IO[AnyStr], any_str: AnyStr, buf: pickle.PickleBuffer) -> None:
Expand Down
0