summaryrefslogtreecommitdiffstats
path: root/Include/rangeobject.h
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 /Include/rangeobject.h
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 'Include/rangeobject.h')
-rw-r--r--Include/rangeobject.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Include/rangeobject.h b/Include/rangeobject.h
index 2403807..2746454 100644
--- a/Include/rangeobject.h
+++ b/Include/rangeobject.h
@@ -16,6 +16,8 @@ they are represented by a start, stop, and step datamembers.
*/
PyAPI_DATA(PyTypeObject) PyRange_Type;
+PyAPI_DATA(PyTypeObject) PyRangeIter_Type;
+PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type;
#define PyRange_Check(op) (Py_Type(op) == &PyRange_Type)