Skip to content

Commit

Permalink
Add _file attribute to SpooledTemporaryFile (#10327)
Browse files Browse the repository at this point in the history
Co-authored-by: Akuli <[email protected]>
  • Loading branch information
heysujal and Akuli authored Jun 24, 2023
1 parent 5af30e8 commit 575dd0c
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 575dd0c

Please sign in to comment.