diff --git a/stdlib/2.7/__builtin__.pyi b/stdlib/2.7/__builtin__.pyi index 5d7674201..8b0ee5318 100644 --- a/stdlib/2.7/__builtin__.pyi +++ b/stdlib/2.7/__builtin__.pyi @@ -693,9 +693,7 @@ def iter(iterable: Iterable[_T]) -> Iterator[_T]: ... @overload def iter(function: Callable[[], _T], sentinel: _T) -> Iterator[_T]: ... 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 issubclass(cls: type, classinfo: Union[type, Tuple[type, ...]]) -> bool: ... def len(o: Sized) -> int: ... @overload def map(func: Callable[[_T1], _S], iter1: Iterable[_T1]) -> List[_S]: ... diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 22d9b9cce..16e8c0f4e 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -670,9 +670,7 @@ def iter(iterable: Iterable[_T]) -> Iterator[_T]: ... @overload def iter(function: Callable[[], _T], sentinel: _T) -> Iterator[_T]: ... 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 issubclass(cls: type, classinfo: Union[type, Tuple[type, ...]]) -> bool: ... def len(o: Sized) -> int: ... def license() -> None: ... def locals() -> Dict[str, Any]: ...