Show More
@@ -1911,10 +1911,11 b' static int index_slice_del(indexObject *' | |||
|
1911 | 1911 | /* Argument changed from PySliceObject* to PyObject* in Python 3. */ |
|
1912 | 1912 | #ifdef IS_PY3K |
|
1913 | 1913 | if (PySlice_GetIndicesEx(item, length, |
|
1914 | &start, &stop, &step, &slicelength) < 0) | |
|
1914 | 1915 | #else |
|
1915 | 1916 | if (PySlice_GetIndicesEx((PySliceObject*)item, length, |
|
1917 | &start, &stop, &step, &slicelength) < 0) | |
|
1916 | 1918 | #endif |
|
1917 | &start, &stop, &step, &slicelength) < 0) | |
|
1918 | 1919 | return -1; |
|
1919 | 1920 | |
|
1920 | 1921 | if (slicelength <= 0) |
General Comments 0
You need to be logged in to leave comments.
Login now