8000 Use a Protocol as the argument for io.TextIOWrapper by JelleZijlstra · Pull Request #10229 · python/typeshed · GitHub
[go: up one dir, main page]

Skip to content

Use a Protocol as the argument for io.TextIOWrapper #10229

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 11 commits into from
Prev Previous commit
Next Next commit
Merge branch 'main' into tiow
  • Loading branch information
JelleZijlstra authored Feb 14, 2024
commit 998ac18aef232223e1e2b0397095a7171be920fd
2 changes: 2 additions & 0 deletions stdlib/io.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ from os import _Opener
from types import TracebackType
from typing import IO, Any, BinaryIO, Protocol, TextIO
from typing_extensions import Literal, Self
from typing import IO, Any, BinaryIO, Literal, TextIO, TypeVar, overload
from typing_extensions import Self

__all__ = [
"BlockingIOError",
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.
0