mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
many more types to initialize (I had to expose some of them)
This commit is contained in:
parent
accb3d0014
commit
01c6e6fb35
5 changed files with 52 additions and 6 deletions
|
@ -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)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue