diff --git a/scripts/typeshed-patches/stdlib/builtins.patch b/scripts/typeshed-patches/stdlib/builtins.patch index abb89263be0..394865e005e 100644 --- a/scripts/typeshed-patches/stdlib/builtins.patch +++ b/scripts/typeshed-patches/stdlib/builtins.patch @@ -32,6 +32,15 @@ def __truediv__(self, x: int) -> float: ... def __mod__(self, x: int) -> int: ... def __divmod__(self, x: int) -> Tuple[int, int]: ... +@@ -279,7 +282,7 @@ + def __rpow__(self, x: float, mod: None = ...) -> float: ... + def __getnewargs__(self) -> Tuple[float]: ... + def __trunc__(self) -> int: ... +- if sys.version_info >= (3, 9): ++ if sys.version_info >= (0, 0): + def __ceil__(self) -> int: ... + def __floor__(self) -> int: ... + @overload @@ -367,7 +370,12 @@ def isspace(self) -> bool: ... def istitle(self) -> bool: ...