summaryrefslogtreecommitdiffstats
path: root/Doc/includes
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-02-02 21:29:40 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-02-02 21:29:40 (GMT)
commit9f9892648f954e45a628113febb524261075db32 (patch)
tree9a9e70a2318e67812787794ea9ab91f59b16b37a /Doc/includes
parent7f42395b6d78a7c8e6b2ef2623c181aa93084269 (diff)
downloadcpython-9f9892648f954e45a628113febb524261075db32.zip
cpython-9f9892648f954e45a628113febb524261075db32.tar.gz
cpython-9f9892648f954e45a628113febb524261075db32.tar.bz2
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 b6b7d6f..3f37434 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 db9c7a8..0907281 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 e98b87f..fac44d8 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 5be00a7..1b3704c 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 3757bca..bb7f05b 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 f6451b9..32647c0 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 */