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.
This commit is contained in:
Mark Dickinson 2009-02-02 20:36:42 +00:00
parent 438cecd3de
commit e94c679df0
99 changed files with 215 additions and 216 deletions

View file

@ -848,7 +848,7 @@ static PyTypeObject deque_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
0, /* tp_compare */
0, /* tp_reserved */
deque_repr, /* tp_repr */
0, /* tp_as_number */
&deque_as_sequence, /* tp_as_sequence */
@ -978,7 +978,7 @@ static PyTypeObject dequeiter_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 */
@ -1061,7 +1061,7 @@ static PyTypeObject dequereviter_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 */
@ -1318,7 +1318,7 @@ static PyTypeObject defdict_type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
0, /* tp_compare */
0, /* tp_reserved */
(reprfunc)defdict_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */