summaryrefslogtreecommitdiff
path: root/Objects/methodobject.c
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
commitb9d6a16e359413c01591b12b8ef08f6b5f2bfefd (patch)
tree43cdb5e7d3e1751ade1feb77cb5235e923673649 /Objects/methodobject.c
parentd7959446e55c6e062bf05b0904016375edffe08c (diff)
downloadcpython-b9d6a16e359413c01591b12b8ef08f6b5f2bfefd.tar.gz
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/methodobject.c')
-rw-r--r--Objects/methodobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/methodobject.c b/Objects/methodobject.c
index cb6f1ba86a..b734b0fe5d 100644
--- a/Objects/methodobject.c
+++ b/Objects/methodobject.c
@@ -254,7 +254,7 @@ PyTypeObject PyCFunction_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)meth_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */