mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-05 09:27:38 +08:00
Fix some errors with --disallow-any-generics (#3276)
See #3267. Covers all of stdlib/2and3.
This commit is contained in:
@@ -94,7 +94,7 @@ if sys.version_info >= (3, 5):
|
||||
def format(self, *, chain: bool = ...) -> Generator[str, None, None]: ...
|
||||
def format_exception_only(self) -> Generator[str, None, None]: ...
|
||||
|
||||
class FrameSummary(Iterable):
|
||||
class FrameSummary(Iterable[Any]):
|
||||
filename: str
|
||||
lineno: int
|
||||
name: str
|
||||
|
||||
Reference in New Issue
Block a user