mirror of
https://github.com/python/cpython.git
synced 2025-11-20 02:50:14 +00:00
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 ........
This commit is contained in:
parent
1061f18beb
commit
039d0a00c8
3 changed files with 9 additions and 2 deletions
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue