mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-05-06 21:43:59 +08:00
Correct bool.__invert__ deprecation message (#14147)
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user