diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/odictobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/odictobject.c b/Objects/odictobject.c index c2cef21..771dcc3 100644 --- a/Objects/odictobject.c +++ b/Objects/odictobject.c @@ -1519,7 +1519,7 @@ odict_repr(PyODictObject *self) count++; } if (count < PyList_GET_SIZE(pieces)) - PyList_GET_SIZE(pieces) = count; + Py_SIZE(pieces) = count; } else { PyObject *items = _PyObject_CallMethodIdObjArgs((PyObject *)self, |