mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 13:04:46 +08:00
Simplify PY3 len() spec, no Union with tuple needed.
This commit is contained in:
@@ -645,7 +645,7 @@ def isinstance(o: object, t: Union[type, Tuple[type, ...]]) -> bool: ...
|
||||
def issubclass(cls: type, classinfo: type) -> bool: ...
|
||||
# TODO support this
|
||||
#def issubclass(type cld, classinfo: Sequence[type]) -> bool: ...
|
||||
def len(o: Union[Sized, tuple]) -> int: ...
|
||||
def len(o: Sized) -> int: ...
|
||||
def license() -> None: ...
|
||||
def locals() -> Dict[str, Any]: ...
|
||||
@overload
|
||||
|
||||
Reference in New Issue
Block a user