summaryrefslogtreecommitdiffstats
path: root/contrib/tools/python3/Objects/boolobject.c
diff options
context:
space:
mode:
authorshadchin <[email protected]>2024-09-17 19:54:19 +0300
committershadchin <[email protected]>2024-09-17 20:04:48 +0300
commitad73802f079a708231d906dd7273a632db735851 (patch)
treed8b2b9f0b31430e69b777af21f63b432f4b92cc4 /contrib/tools/python3/Objects/boolobject.c
parent7c4e4744ae44dd94daa179458190817615f9e8a1 (diff)
Update Python 3 to 3.12.6
commit_hash:43ed87a61b9efe3a87682fda1f0bff6f7b422cc9
Diffstat (limited to 'contrib/tools/python3/Objects/boolobject.c')
-rw-r--r--contrib/tools/python3/Objects/boolobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/tools/python3/Objects/boolobject.c b/contrib/tools/python3/Objects/boolobject.c
index f43e26f3f24..74e16dd2700 100644
--- a/contrib/tools/python3/Objects/boolobject.c
+++ b/contrib/tools/python3/Objects/boolobject.c
@@ -71,8 +71,8 @@ static PyObject *
bool_invert(PyObject *v)
{
if (PyErr_WarnEx(PyExc_DeprecationWarning,
- "Bitwise inversion '~' on bool is deprecated. This "
- "returns the bitwise inversion of the underlying int "
+ "Bitwise inversion '~' on bool is deprecated and will be removed in "
+ "Python 3.16. This returns the bitwise inversion of the underlying int "
"object and is usually not what you expect from negating "
"a bool. Use the 'not' operator for boolean negation or "
"~int(x) if you really want the bitwise inversion of the "