diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index b0912b887..0a6dc57b0 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -1295,7 +1295,7 @@ def ascii(obj: object, /) -> str: ... def bin(number: int | SupportsIndex, /) -> str: ... def breakpoint(*args: Any, **kws: Any) -> None: ... def callable(obj: object, /) -> TypeIs[Callable[..., object]]: ... -def chr(i: int, /) -> str: ... +def chr(i: int | SupportsIndex, /) -> str: ... # We define this here instead of using os.PathLike to avoid import cycle issues. # See https://github.com/python/typeshed/pull/991#issuecomment-288160993