Cleanup: style
This commit is contained in:
@@ -802,7 +802,7 @@ static PyObject *Buffer_new(PyTypeObject *UNUSED(type), PyObject *args, PyObject
|
||||
"`GL_TYPE` and `typestr` of object with buffer interface do not match. '%s'", pybuffer.format);
|
||||
}
|
||||
else if (ndimensions != pybuffer.ndim ||
|
||||
!compare_dimensions(ndimensions, dimensions, pybuffer.shape))
|
||||
!compare_dimensions(ndimensions, dimensions, pybuffer.shape))
|
||||
{
|
||||
PyErr_Format(PyExc_TypeError, "array size does not match");
|
||||
}
|
||||
|
Reference in New Issue
Block a user