diff Objects/listobject.c @ 44043:1f024a95e9d9

Added view and iterator types to collections / _abcoll I've also renamed several of the iterators to keep a consistent naming schema.
author Christian Heimes <christian@cheimes.de>
date Wed, 28 Nov 2007 09:44:38 +0000
parents 3e5edf19d5f0
children 0cc552ab76bd
line wrap: on
line diff
--- a/Objects/listobject.c	Wed Nov 28 08:28:28 2007 +0000
+++ b/Objects/listobject.c	Wed Nov 28 09:44:38 2007 +0000
@@ -2726,7 +2726,7 @@
 
 PyTypeObject PyListIter_Type = {
 	PyVarObject_HEAD_INIT(&PyType_Type, 0)
-	"listiterator",				/* tp_name */
+	"list_iterator",			/* tp_name */
 	sizeof(listiterobject),			/* tp_basicsize */
 	0,					/* tp_itemsize */
 	/* methods */
@@ -2848,7 +2848,7 @@
 
 PyTypeObject PyListRevIter_Type = {
 	PyVarObject_HEAD_INIT(&PyType_Type, 0)
-	"listreverseiterator",			/* tp_name */
+	"list_reverseiterator",			/* tp_name */
 	sizeof(listreviterobject),		/* tp_basicsize */
 	0,					/* tp_itemsize */
 	/* methods */