diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2009-02-02 20:36:42 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2009-02-02 20:36:42 (GMT) |
commit | e94c679df0b632bc929936ca54f0de006e1a6dc2 (patch) | |
tree | 79c6f9c819bb350a87917880ce5267394e64db79 /Python | |
parent | 438cecd3de1388075d921a1b84121a33f10844eb (diff) | |
download | cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.zip cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.gz cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.bz2 |
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 'Python')
-rw-r--r-- | Python/Python-ast.c | 2 | ||||
-rw-r--r-- | Python/bltinmodule.c | 6 | ||||
-rw-r--r-- | Python/import.c | 2 | ||||
-rw-r--r-- | Python/symtable.c | 2 | ||||
-rw-r--r-- | Python/traceback.c | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index cf79b37..1e85b2f 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -479,7 +479,7 @@ static PyTypeObject AST_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 */ diff --git a/Python/bltinmodule.c b/Python/bltinmodule.c index 8cb66c5..9805697 100644 --- a/Python/bltinmodule.c +++ b/Python/bltinmodule.c @@ -416,7 +416,7 @@ PyTypeObject PyFilter_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 */ @@ -1017,7 +1017,7 @@ PyTypeObject PyMap_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 */ @@ -2166,7 +2166,7 @@ PyTypeObject PyZip_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 */ diff --git a/Python/import.c b/Python/import.c index d741aca..5a2c3cb 100644 --- a/Python/import.c +++ b/Python/import.c @@ -3295,7 +3295,7 @@ PyTypeObject PyNullImporter_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*/ diff --git a/Python/symtable.c b/Python/symtable.c index e3bb270..17876ea 100644 --- a/Python/symtable.c +++ b/Python/symtable.c @@ -130,7 +130,7 @@ PyTypeObject PySTEntry_Type = { 0, /* tp_print */ 0, /* tp_getattr */ 0, /* tp_setattr */ - 0, /* tp_compare */ + 0, /* tp_reserved */ (reprfunc)ste_repr, /* tp_repr */ 0, /* tp_as_number */ 0, /* tp_as_sequence */ diff --git a/Python/traceback.c b/Python/traceback.c index 42bbd53..e77b1b2 100644 --- a/Python/traceback.c +++ b/Python/traceback.c @@ -72,7 +72,7 @@ PyTypeObject PyTraceBack_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*/ |