diff Objects/typeobject.c @ 64284:ebfb94f2cbc3 2.7

Merged revisions 84320 via svnmerge from svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r84320 | benjamin.peterson | 2010-08-25 18:13:17 -0500 (Wed, 25 Aug 2010) | 1 line basicsize and itemsize are Py_ssize_t #9688 ........
author Benjamin Peterson <benjamin@python.org>
date Wed, 25 Aug 2010 23:17:42 +0000
parents 756f8b398230
children 471dbd906aad
line wrap: on
line diff
--- a/Objects/typeobject.c	Wed Aug 25 01:45:57 2010 +0000
+++ b/Objects/typeobject.c	Wed Aug 25 23:17:42 2010 +0000
@@ -188,8 +188,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},