formatting edits & doc correction, no functional changes.

This commit is contained in:
2011-11-16 03:56:34 +00:00
parent 9d31c99c26
commit ba7fbf6ae7
5 changed files with 138 additions and 132 deletions

View File

@@ -639,7 +639,8 @@ static PyObject *Quaternion_subscript(QuaternionObject *self, PyObject *item)
if (i < 0)
i += QUAT_SIZE;
return Quaternion_item(self, i);
} else if (PySlice_Check(item)) {
}
else if (PySlice_Check(item)) {
Py_ssize_t start, stop, step, slicelength;
if (PySlice_GetIndicesEx((void *)item, QUAT_SIZE, &start, &stop, &step, &slicelength) < 0)