mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 11:01:27 +08:00
Add _file attribute to SpooledTemporaryFile (#10327)
Co-authored-by: Akuli <akuviljanen17@gmail.com>
This commit is contained in:
1 parent
5af30e8620
commit
575dd0c448
1 file changed
+1
@@ -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