summaryrefslogtreecommitdiff
path: root/Objects/codeobject.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/codeobject.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/codeobject.c')
-rw-r--r--Objects/codeobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c
index 01a637aa6d..65868e450d 100644
--- a/Objects/codeobject.c
+++ b/Objects/codeobject.c
@@ -399,7 +399,7 @@ PyTypeObject PyCode_Type = {
0, /* tp_print */
0, /* tp_getattr */
0, /* tp_setattr */
- 0, /* tp_compare */
+ 0, /* tp_reserved */
(reprfunc)code_repr, /* tp_repr */
0, /* tp_as_number */
0, /* tp_as_sequence */