Mercurial > cpython-lru_cache-weakref
diff Include/bytesobject.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 | bb288e04b8e5 |
| children | 86a2679dca46 |
line wrap: on
line diff
--- a/Include/bytesobject.h Thu Nov 29 18:48:53 2007 +0000 +++ b/Include/bytesobject.h Thu Nov 29 22:35:39 2007 +0000 @@ -29,6 +29,7 @@ /* Type object */ PyAPI_DATA(PyTypeObject) PyBytes_Type; +PyAPI_DATA(PyTypeObject) PyBytesIter_Type; /* Type check macros */ #define PyBytes_Check(self) PyObject_TypeCheck(self, &PyBytes_Type)
