mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 12:44:28 +08:00
Add _file attribute to SpooledTemporaryFile (#10327)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user