many more types to initialize (I had to expose some of them)

This commit is contained in:
Benjamin Peterson 2009-04-18 22:15:26 +00:00
parent accb3d0014
commit 01c6e6fb35
5 changed files with 52 additions and 6 deletions

View file

@ -25,6 +25,7 @@ typedef struct {
} PySliceObject;
PyAPI_DATA(PyTypeObject) PySlice_Type;
PyAPI_DATA(PyTypeObject) PyEllipsis_Type;
#define PySlice_Check(op) (Py_TYPE(op) == &PySlice_Type)