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 9731dd2 commit 991c098Copy full SHA for 991c098
Include/cpython/longintrepr.h
@@ -127,7 +127,7 @@ _PyLong_IsCompact(const PyLongObject* op) {
127
static inline int
128
PyLong_CheckCompact(const PyObject *op)
129
{
130
- return PyLong_CheckExact(op) && _PyLong_IsCompact((PyLongObject *)op);
+ return PyLong_CheckExact(op) && _PyLong_IsCompact((const PyLongObject *)op);
131
}
132
133
#define PyUnstable_Long_IsCompact _PyLong_IsCompact
0 commit comments