mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-26 05:41:11 +08:00
Enable --disallow-any-generics for stubs (#3288)
This commit is contained in:
committed by
Jelle Zijlstra
parent
23b353303b
commit
c32e1e2280
@@ -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: ...
|
||||
|
||||
Reference in New Issue
Block a user