##// END OF EJS Templates
cext: stop preprocessing a partial function call...
Matt Harbison -
r39645:c06c585f default
parent child Browse files
Show More
@@ -1911,10 +1911,11 b' static int index_slice_del(indexObject *'
1911 /* Argument changed from PySliceObject* to PyObject* in Python 3. */
1911 /* Argument changed from PySliceObject* to PyObject* in Python 3. */
1912 #ifdef IS_PY3K
1912 #ifdef IS_PY3K
1913 if (PySlice_GetIndicesEx(item, length,
1913 if (PySlice_GetIndicesEx(item, length,
1914 &start, &stop, &step, &slicelength) < 0)
1914 #else
1915 #else
1915 if (PySlice_GetIndicesEx((PySliceObject*)item, length,
1916 if (PySlice_GetIndicesEx((PySliceObject*)item, length,
1917 &start, &stop, &step, &slicelength) < 0)
1916 #endif
1918 #endif
1917 &start, &stop, &step, &slicelength) < 0)
1918 return -1;
1919 return -1;
1919
1920
1920 if (slicelength <= 0)
1921 if (slicelength <= 0)
General Comments 0
You need to be logged in to leave comments. Login now