summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2007-11-28 09:44:38 (GMT)
committerChristian Heimes <christian@cheimes.de>2007-11-28 09:44:38 (GMT)
commitf83be4e3f353c4cfb53a22793dd1394797988c30 (patch)
treef3a4c1535a6b18cca165f1b24f1fe51f6c49eef3 /Objects/dictobject.c
parentc9543e42330e5f339d6419eba6a8c5a61a39aeca (diff)
downloadcpython-f83be4e3f353c4cfb53a22793dd1394797988c30.zip
cpython-f83be4e3f353c4cfb53a22793dd1394797988c30.tar.gz
cpython-f83be4e3f353c4cfb53a22793dd1394797988c30.tar.bz2
Added view and iterator types to collections / _abcoll
I've also renamed several of the iterators to keep a consistent naming schema.
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index 7bff7d8..b849f57 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -2148,7 +2148,7 @@ fail:
PyTypeObject PyDictIterKey_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
- "dictionary-keyiterator", /* tp_name */
+ "dict_keyiterator", /* tp_name */
sizeof(dictiterobject), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
@@ -2220,7 +2220,7 @@ fail:
PyTypeObject PyDictIterValue_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
- "dictionary-valueiterator", /* tp_name */
+ "dict_valueiterator", /* tp_name */
sizeof(dictiterobject), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */
@@ -2306,7 +2306,7 @@ fail:
PyTypeObject PyDictIterItem_Type = {
PyVarObject_HEAD_INIT(&PyType_Type, 0)
- "dictionary-itemiterator", /* tp_name */
+ "dict_itemiterator", /* tp_name */
sizeof(dictiterobject), /* tp_basicsize */
0, /* tp_itemsize */
/* methods */