Enable --disallow-any-generics for stubs (#3288)

This commit is contained in:
Sebastian Rittau
2019-10-01 14:31:34 +02:00
committed by Jelle Zijlstra
parent 23b353303b
commit c32e1e2280
77 changed files with 386 additions and 329 deletions

View File

@@ -1,3 +1,5 @@
from typing import Any, List
class Repr:
maxarray: int
maxdeque: int
@@ -25,7 +27,7 @@ class Repr:
def repr_str(self, x, level: complex) -> str: ...
def repr_tuple(self, x, level: complex) -> str: ...
def _possibly_sorted(x) -> list: ...
def _possibly_sorted(x) -> List[Any]: ...
aRepr: Repr
def repr(x) -> str: ...