diff --git a/stdlib/2.7/__builtin__.pyi b/stdlib/2.7/__builtin__.pyi index bc57a3c8b..480298f8f 100644 --- a/stdlib/2.7/__builtin__.pyi +++ b/stdlib/2.7/__builtin__.pyi @@ -53,6 +53,7 @@ class type: def __new__(cls, o: object) -> type: ... @overload def __new__(cls, name: str, bases: Tuple[type, ...], namespace: Dict[str, Any]) -> type: ... + def __call__(self, *args: Any, **kwds: Any) -> Any: ... class int(SupportsInt, SupportsFloat, SupportsAbs[int]): @overload diff --git a/stdlib/3/builtins.pyi b/stdlib/3/builtins.pyi index 26f384852..fc9d82b6e 100644 --- a/stdlib/3/builtins.pyi +++ b/stdlib/3/builtins.pyi @@ -53,6 +53,7 @@ class type: def __new__(cls, o: object) -> type: ... @overload def __new__(cls, name: str, bases: Tuple[type, ...], namespace: Dict[str, Any]) -> type: ... + def __call__(self, *args: Any, **kwds: Any) -> Any: ... class int(SupportsInt, SupportsFloat, SupportsAbs[int]): def __init__(self, x: Union[SupportsInt, str, bytes] = None, base: int = None) -> None: ...