summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-08-25 23:13:17 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-08-25 23:13:17 (GMT)
commit0e10206f2cc7b3fac5ad30cd45583c8f1a8a6126 (patch)
tree51769797eedbf38cd6b09a5aaaa730ad751d57bb /Objects
parentdc078de4931b309e39498c3fd5e521cf084a5d45 (diff)
downloadcpython-0e10206f2cc7b3fac5ad30cd45583c8f1a8a6126.zip
cpython-0e10206f2cc7b3fac5ad30cd45583c8f1a8a6126.tar.gz
cpython-0e10206f2cc7b3fac5ad30cd45583c8f1a8a6126.tar.bz2
basicsize and itemsize are Py_ssize_t #9688
Diffstat (limited to 'Objects')
-rw-r--r--Objects/typeobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/typeobject.c b/Objects/typeobject.c
index 1babcb6..8b74e1e 100644
--- a/Objects/typeobject.c
+++ b/Objects/typeobject.c
@@ -189,8 +189,8 @@ assign_version_tag(PyTypeObject *type)
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},