Mercurial > cpython-lru_cache-weakref
diff Include/stringobject.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 | 0d462d789b18 |
| children | 444da08f78a4 |
line wrap: on
line diff
--- a/Include/stringobject.h Thu Nov 29 18:48:53 2007 +0000 +++ b/Include/stringobject.h Thu Nov 29 22:35:39 2007 +0000 @@ -40,6 +40,7 @@ } PyStringObject; PyAPI_DATA(PyTypeObject) PyString_Type; +PyAPI_DATA(PyTypeObject) PyStringIter_Type; #define PyString_Check(op) \ PyType_FastSubclass(Py_Type(op), Py_TPFLAGS_STRING_SUBCLASS)
