mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Consistently use Generic as the last base class (#10610)
This commit is contained in:
@@ -321,7 +321,7 @@ else:
|
||||
dir: GenericPath[AnyStr] | None = None,
|
||||
) -> IO[Any]: ...
|
||||
|
||||
class _TemporaryFileWrapper(Generic[AnyStr], IO[AnyStr]):
|
||||
class _TemporaryFileWrapper(IO[AnyStr], Generic[AnyStr]):
|
||||
file: IO[AnyStr] # io.TextIOWrapper, io.BufferedReader or io.BufferedWriter
|
||||
name: str
|
||||
delete: bool
|
||||
|
||||
Reference in New Issue
Block a user