"get_values() -> list of integers\n"
"\n"
"Read the values of all the lines held by this LineBulk object. The index\n"
-"of each value in the returned list corresponds with the index of the line\n"
+"of each value in the returned list corresponds to the index of the line\n"
"in this gpiod.LineBulk object.");
static PyObject *gpiod_LineBulk_get_values(gpiod_LineBulkObject *self,
"\n"
"The number of values in the list passed as argument must be the same as\n"
"the number of lines held by this gpiod.LineBulk object. The index of each\n"
-"value corresponds with the index of each line in the object.\n");
+"value corresponds to the index of each line in the object.\n");
static PyObject *gpiod_LineBulk_set_values(gpiod_LineBulkObject *self,
PyObject *args)
num_vals = PyObject_Size(val_list);
if (self->num_lines != num_vals) {
PyErr_SetString(PyExc_TypeError,
- "Number of values must correspond with the number of lines");
+ "Number of values must correspond to the number of lines");
return NULL;
}
*
* This is a variant of ::gpiod_line_bulk_foreach_line which uses an integer
* variable (either signed or unsigned) to store the loop state. This offset
- * variable is guaranteed to correspond with the offset of the current line in
+ * variable is guaranteed to correspond to the offset of the current line in
* the bulk->lines array.
*/
#define gpiod_line_bulk_foreach_line_off(bulk, line, offset) \
/*
* Make sure the major and minor numbers of the character device
- * correspond with the ones in the dev attribute in sysfs.
+ * correspond to the ones in the dev attribute in sysfs.
*/
snprintf(devstr, sizeof(devstr), "%u:%u",
major(statbuf.st_rdev), minor(statbuf.st_rdev));
/*
* We can't assume that the order in which the mockup gpiochip
* devices are created will be deterministic, yet we want the
- * index passed to the test_chip_*() functions to correspond with the
+ * index passed to the test_chip_*() functions to correspond to the
* order in which the chips were defined in the TEST_DEFINE()
* macro.
*