diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-02 20:41:29 (GMT) |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-02 20:41:29 (GMT) |
| commit | d925ef83bc07df1708124bf48d5ee5f06576b071 (patch) | |
| tree | 41eb1074f2c83fd26066a70ffb3c497724393e8d /Modules/arraymodule.c | |
| parent | 3571d8115f4f62022889761bef2af024b4ff9fd1 (diff) | |
| download | cpython-d925ef83bc07df1708124bf48d5ee5f06576b071.zip cpython-d925ef83bc07df1708124bf48d5ee5f06576b071.tar.gz cpython-d925ef83bc07df1708124bf48d5ee5f06576b071.tar.bz2 | |
Merged revisions 69214 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r69214 | mark.dickinson | 2009-02-02 20:36:42 +0000 (Mon, 02 Feb 2009) | 4 lines
Issue #1717: rename tp_compare to tp_reserved. I'll change the
type of tp_compare in a separate commit, for ease of reversion
should things go wrong.
........
Diffstat (limited to 'Modules/arraymodule.c')
| -rw-r--r-- | Modules/arraymodule.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/arraymodule.c b/Modules/arraymodule.c index c8b40bd..690c488 100644 --- a/Modules/arraymodule.c +++ b/Modules/arraymodule.c @@ -2013,7 +2013,7 @@ static PyTypeObject Arraytype = { 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ - 0, /* tp_compare */ + 0, /* tp_reserved */ (reprfunc)array_repr, /* tp_repr */ 0, /* tp_as_number*/ &array_as_sequence, /* tp_as_sequence*/ @@ -2116,7 +2116,7 @@ static PyTypeObject PyArrayIter_Type = { 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ - 0, /* tp_compare */ + 0, /* tp_reserved */ 0, /* tp_repr */ 0, /* tp_as_number */ 0, /* tp_as_sequence */ |
