Mercurial > cpython-lru_cache-weakref
diff Include/rangeobject.h @ 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 | e70cdce0e8b2 |
| children | 86a2679dca46 |
line wrap: on
line diff
--- a/Include/rangeobject.h Thu Nov 29 18:48:53 2007 +0000 +++ b/Include/rangeobject.h Thu Nov 29 22:35:39 2007 +0000 @@ -16,6 +16,8 @@ */ PyAPI_DATA(PyTypeObject) PyRange_Type; +PyAPI_DATA(PyTypeObject) PyRangeIter_Type; +PyAPI_DATA(PyTypeObject) PyLongRangeIter_Type; #define PyRange_Check(op) (Py_Type(op) == &PyRange_Type)
