Mercurial > cpython-lru_cache-weakref
diff Objects/typeobject.c @ 64283:8330346b5c5f
basicsize and itemsize are Py_ssize_t #9688
| author | Benjamin Peterson <benjamin@python.org> |
|---|---|
| date | Wed, 25 Aug 2010 23:13:17 +0000 |
| parents | e3df34544db9 |
| children | 9f55faaa3193 |
line wrap: on
line diff
--- a/Objects/typeobject.c Wed Aug 25 22:15:18 2010 +0000 +++ b/Objects/typeobject.c Wed Aug 25 23:13:17 2010 +0000 @@ -189,8 +189,8 @@ static PyMemberDef type_members[] = { - {"__basicsize__", T_INT, offsetof(PyTypeObject,tp_basicsize),READONLY}, - {"__itemsize__", T_INT, offsetof(PyTypeObject, tp_itemsize), READONLY}, + {"__basicsize__", T_PYSSIZET, offsetof(PyTypeObject,tp_basicsize),READONLY}, + {"__itemsize__", T_PYSSIZET, offsetof(PyTypeObject, tp_itemsize), READONLY}, {"__flags__", T_LONG, offsetof(PyTypeObject, tp_flags), READONLY}, {"__weakrefoffset__", T_LONG, offsetof(PyTypeObject, tp_weaklistoffset), READONLY},
