From 204ec1273fe05efb0fd2573752c27fb159339920 Mon Sep 17 00:00:00 2001 From: sobolevn Date: Mon, 26 May 2025 12:12:26 +0300 Subject: [PATCH] Correct `bool.__invert__` deprecation message (#14147) --- stdlib/builtins.pyi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stdlib/builtins.pyi b/stdlib/builtins.pyi index c0e645ef5..0912254f5 100644 --- a/stdlib/builtins.pyi +++ b/stdlib/builtins.pyi @@ -954,7 +954,7 @@ class bool(int): @overload def __rxor__(self, value: int, /) -> int: ... def __getnewargs__(self) -> tuple[int]: ... - @deprecated("Will throw an error in Python 3.14. Use `not` for logical negation of bools instead.") + @deprecated("Will throw an error in Python 3.16. Use `not` for logical negation of bools instead.") def __invert__(self) -> int: ... @final