mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-15 02:31:09 +08:00
Correct bool.__invert__ deprecation message (#14147)
This commit is contained in:
1 parent
23d144773f
commit
204ec1273f
1 file changed
+1
-1
+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