summaryrefslogtreecommitdiff
path: root/Doc/includes
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-02 21:29:40 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-02-02 21:29:40 +0000
commit69cca7f026e0ba7ca5f8b915a60e4bf6886f030a (patch)
tree1e3408403bd92aaf5a1aa127f33e9422b70b0173 /Doc/includes
parent38e3857c7a683a4f13dc4de4f5e24409b843933b (diff)
downloadcpython-69cca7f026e0ba7ca5f8b915a60e4bf6886f030a.tar.gz
Issue #1717, continued: Doc fixes and other cleanup related
to renaming of tp_compare.
Diffstat (limited to 'Doc/includes')
-rw-r--r--Doc/includes/noddy.c2
-rw-r--r--Doc/includes/noddy2.c2
-rw-r--r--Doc/includes/noddy3.c2
-rw-r--r--Doc/includes/noddy4.c2
-rw-r--r--Doc/includes/shoddy.c2
-rw-r--r--Doc/includes/typestruct.h2
6 files changed, 6 insertions, 6 deletions
diff --git a/Doc/includes/noddy.c b/Doc/includes/noddy.c
index b6b7d6feda..3f37434e30 100644
--- a/Doc/includes/noddy.c
+++ b/Doc/includes/noddy.c
@@ -14,7 +14,7 @@ static PyTypeObject noddy_NoddyType = {
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/Doc/includes/noddy2.c b/Doc/includes/noddy2.c
index db9c7a88d5..0907281baa 100644
--- a/Doc/includes/noddy2.c
+++ b/Doc/includes/noddy2.c
@@ -131,7 +131,7 @@ static PyTypeObject NoddyType = {
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/Doc/includes/noddy3.c b/Doc/includes/noddy3.c
index e98b87fdd3..fac44d8808 100644
--- a/Doc/includes/noddy3.c
+++ b/Doc/includes/noddy3.c
@@ -184,7 +184,7 @@ static PyTypeObject NoddyType = {
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/Doc/includes/noddy4.c b/Doc/includes/noddy4.c
index 5be00a796a..1b3704ceff 100644
--- a/Doc/includes/noddy4.c
+++ b/Doc/includes/noddy4.c
@@ -165,7 +165,7 @@ static PyTypeObject NoddyType = {
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/Doc/includes/shoddy.c b/Doc/includes/shoddy.c
index 3757bca0ef..bb7f05b107 100644
--- a/Doc/includes/shoddy.c
+++ b/Doc/includes/shoddy.c
@@ -39,7 +39,7 @@ static PyTypeObject ShoddyType = {
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/Doc/includes/typestruct.h b/Doc/includes/typestruct.h
index f6451b925d..32647c0ee5 100644
--- a/Doc/includes/typestruct.h
+++ b/Doc/includes/typestruct.h
@@ -9,7 +9,7 @@ typedef struct _typeobject {
printfunc tp_print;
getattrfunc tp_getattr;
setattrfunc tp_setattr;
- cmpfunc tp_compare;
+ void *tp_reserved;
reprfunc tp_repr;
/* Method suites for standard classes */