We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69d35bd commit 2f927e0Copy full SHA for 2f927e0
1 file changed
Include/internal/pycore_long.h
@@ -237,7 +237,7 @@ _PyLong_HasImmortalTag(const PyLongObject *op)
237
assert(PyLong_Check(op));
238
bool is_small_int = (op->long_value.lv_tag & IMMORTALITY_BIT_MASK) != 0;
239
assert(PyLong_CheckExact(op) || (!is_small_int));
240
- assert((is_small_int && _Py_IsImmortal(op)) || (!is_small_int));
+ assert(_Py_IsImmortal(op) || (!is_small_int));
241
return is_small_int;
242
}
243
0 commit comments