Searched refs:self_bytes (Results 1 – 1 of 1) sorted by relevance
1008 Py_buffer self_bytes, other_bytes; in bytearray_richcompare() local1023 if (PyObject_GetBuffer(self, &self_bytes, PyBUF_SIMPLE) != 0) { in bytearray_richcompare()1027 self_size = self_bytes.len; in bytearray_richcompare()1031 PyBuffer_Release(&self_bytes); in bytearray_richcompare()1038 PyBuffer_Release(&self_bytes); in bytearray_richcompare()1043 cmp = memcmp(self_bytes.buf, other_bytes.buf, in bytearray_richcompare()1047 PyBuffer_Release(&self_bytes); in bytearray_richcompare()