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 8143081 commit 1df4e70Copy full SHA for 1df4e70
Include/internal/pycore_long.h
@@ -236,9 +236,9 @@ _PyLong_IsSmallInt(const PyLongObject *op)
236
if (_PyLong_IsCompact(op)) {
237
Py_ssize_t value = _PyLong_CompactValue(op);
238
if (_PY_IS_SMALL_INT(value)) {
239
- PyLongObject *small;
240
- small = &_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + value];
241
- is_small_int = (op == small);
+ PyLongObject *small_obj;
+ small_obj = &_PyLong_SMALL_INTS[_PY_NSMALLNEGINTS + value];
+ is_small_int = (op == small_obj);
242
}
243
244
assert(PyLong_CheckExact(op) || (!is_small_int));
0 commit comments