diff options
Diffstat (limited to 'Objects/object.c')
-rw-r--r-- | Objects/object.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Objects/object.c b/Objects/object.c index a90c6fa..9bbe0ee 100644 --- a/Objects/object.c +++ b/Objects/object.c @@ -1064,6 +1064,7 @@ _PyObject_ComputedDictPointer(PyObject *obj) if (dictoffset == 0) return NULL; if (dictoffset < 0) { + assert(dictoffset != -1); Py_ssize_t tsize = Py_SIZE(obj); if (tsize < 0) { tsize = -tsize; |