Correct bool.__invert__ deprecation message (#14147)

This commit is contained in:
sobolevn
2025-05-26 12:12:26 +03:00
committed by GitHub
parent 23d144773f
commit 204ec1273f
+1 -1
View File
@@ -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