summaryrefslogtreecommitdiff
path: root/Modules/_sre.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 /Modules/_sre.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 'Modules/_sre.c')
-rw-r--r--Modules/_sre.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c
index 823dc50509..45b92f319d 100644
--- a/Modules/_sre.c
+++ b/Modules/_sre.c
@@ -2625,7 +2625,7 @@ static PyTypeObject Pattern_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 */
@@ -3635,7 +3635,7 @@ static PyTypeObject Match_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 */
@@ -3819,7 +3819,7 @@ static PyTypeObject Scanner_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 */