summaryrefslogtreecommitdiffstats
path: root/Objects/tupleobject.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-29 22:35:39 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-29 22:35:39 (GMT)
commita22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0 (patch)
tree8f865b488f65ff8bab485bafe1cdd8516a65c679 /Objects/tupleobject.c
parent513b2ac76c1f56f5a6e0d07fee57d823819ee873 (diff)
downloadcpython-a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0.zip
cpython-a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0.tar.gz
cpython-a22e8bdfd92cd4f1bc3d60e91df6410c4efde6a0.tar.bz2
Added all PyTypeObjects to the appropriate header files.
Before the patch a lot of internal types weren't available in the header files. The patch exposes the new iterators, views and some other types to all C modules. I've also renamed some of the types and tp_names.
Diffstat (limited to 'Objects/tupleobject.c')
-rw-r--r--Objects/tupleobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/tupleobject.c b/Objects/tupleobject.c
index c22785d..fcfd09d 100644
--- a/Objects/tupleobject.c
+++ b/Objects/tupleobject.c
@@ -840,7 +840,7 @@ static PyMethodDef tupleiter_methods[] = {
PyTypeObject PyTupleIter_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
- "tupleiterator", /* tp_name */
+ "tuple_iterator", /* tp_name */
sizeof(tupleiterobject), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */