aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-02 20:36:42 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-02-02 20:36:42 +0000
commite94c679df0b632bc929936ca54f0de006e1a6dc2 (patch)
tree79c6f9c819bb350a87917880ce5267394e64db79 /Objects/classobject.c
parentAdd some notes for importlib to package up what is in Python 2.7 as well as m... (diff)
downloadcpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.gz
cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.tar.bz2
cpython-e94c679df0b632bc929936ca54f0de006e1a6dc2.zip
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 'Objects/classobject.c')
-rw-r--r--Objects/classobject.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/classobject.c b/Objects/classobject.c
index 3c2bc3d0331..d10ab298be4 100644
--- a/Objects/classobject.c
+++ b/Objects/classobject.c
@@ -348,7 +348,7 @@ PyTypeObject PyMethod_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)method_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */
@@ -614,7 +614,7 @@ PyTypeObject PyInstanceMethod_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)instancemethod_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */