summaryrefslogtreecommitdiffstats
path: root/Objects/boolobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'Objects/boolobject.c')
-rw-r--r--Objects/boolobject.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/Objects/boolobject.c b/Objects/boolobject.c
index 01acf0f..8a20e36 100644
--- a/Objects/boolobject.c
+++ b/Objects/boolobject.c
@@ -4,8 +4,6 @@
#include "pycore_object.h" // _Py_FatalRefcountError()
#include "pycore_runtime.h" // _Py_ID()
-#include <stddef.h>
-
/* We define bool_repr to return "False" or "True" */
static PyObject *
@@ -156,8 +154,8 @@ bool_dealloc(PyObject* Py_UNUSED(ignore))
PyTypeObject PyBool_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
"bool",
- offsetof(struct _longobject, ob_digit), /* tp_basicsize */
- sizeof(digit), /* tp_itemsize */
+ sizeof(struct _longobject),
+ 0,
bool_dealloc, /* tp_dealloc */
0, /* tp_vectorcall_offset */
0, /* tp_getattr */