Skip to content

Commit 204ec12

Browse files
authored
Correct bool.__invert__ deprecation message (#14147)
1 parent 23d1447 commit 204ec12

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

stdlib/builtins.pyi

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -954,7 +954,7 @@ class bool(int):
954954
@overload
955955
def __rxor__(self, value: int, /) -> int: ...
956956
def __getnewargs__(self) -> tuple[int]: ...
957-
@deprecated("Will throw an error in Python 3.14. Use `not` for logical negation of bools instead.")
957+
@deprecated("Will throw an error in Python 3.16. Use `not` for logical negation of bools instead.")
958958
def __invert__(self) -> int: ...
959959

960960
@final

0 commit comments

Comments
 (0)