diff Objects/tupleobject.c @ 44061:0cc552ab76bd

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.
author Christian Heimes <christian@cheimes.de>
date Thu, 29 Nov 2007 22:35:39 +0000
parents 3e5edf19d5f0
children f324631462a2
line wrap: on
line diff
--- a/Objects/tupleobject.c	Thu Nov 29 18:48:53 2007 +0000
+++ b/Objects/tupleobject.c	Thu Nov 29 22:35:39 2007 +0000
@@ -840,7 +840,7 @@
 
 PyTypeObject PyTupleIter_Type = {
 	PyVarObject_HEAD_INIT(&PyType_Type, 0)
-	"tupleiterator",			/* tp_name */
+	"tuple_iterator",			/* tp_name */
 	sizeof(tupleiterobject),		/* tp_basicsize */
 	0,					/* tp_itemsize */
 	/* methods */