mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-10 05:22:23 +08:00
Enable --disallow-any-generics for stubs (#3288)
This commit is contained in:
committed by
Jelle Zijlstra
parent
23b353303b
commit
c32e1e2280
@@ -19,9 +19,9 @@ class _RandomNameSequence:
|
||||
|
||||
class _TemporaryFileWrapper(IO[str]):
|
||||
delete: bool
|
||||
file: IO
|
||||
file: IO[str]
|
||||
name: Any
|
||||
def __init__(self, file: IO, name: Any, delete: bool = ...) -> None: ...
|
||||
def __init__(self, file: IO[str], name: Any, delete: bool = ...) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def __enter__(self) -> _TemporaryFileWrapper: ...
|
||||
def __exit__(self, exc, value, tb) -> Optional[bool]: ...
|
||||
|
||||
Reference in New Issue
Block a user