Skip to content
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

Add _file in class SpooledTemporaryFile in tempfile.pyi #10327

Merged
merged 11 commits into from
Jun 24, 2023
1 change: 1 addition & 0 deletions stdlib/tempfile.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,7 @@ else:
# It does not actually derive from IO[AnyStr], but it does mostly behave
# like one.
class SpooledTemporaryFile(IO[AnyStr], _SpooledTemporaryFileBase):
_file: IO[AnyStr]
@property
def encoding(self) -> str: ... # undocumented
@property
Expand Down