Skip to content

Commit ae6229b

Browse files
committed
Update for recent changes in longobject.c
1 parent 4cecaba commit ae6229b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Objects/boolobject.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ bool_dealloc(PyObject* Py_UNUSED(ignore))
155155
PyTypeObject PyBool_Type = {
156156
PyVarObject_HEAD_INIT(&PyType_Type, 0)
157157
"bool",
158-
offsetof(struct _longobject, ob_digit), /* tp_basicsize */
158+
offsetof(struct _longobject, long_value.ob_digit), /* tp_basicsize */
159159
sizeof(digit), /* tp_itemsize */
160160
bool_dealloc, /* tp_dealloc */
161161
0, /* tp_vectorcall_offset */

0 commit comments

Comments
 (0)