[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-05-22 10:17:38 +00:00
parent 273aa54052
commit 057651a50c

View File

@ -3750,9 +3750,8 @@ _getattr_unsafe_ptrs(ImagingObject *self, void *closure) {
self->image->image);
}
static PyObject*
_getattr_readonly(ImagingObject* self, void* closure)
{
static PyObject *
_getattr_readonly(ImagingObject *self, void *closure) {
return PyLong_FromLong(self->image->readonly);
}
@ -3763,7 +3762,7 @@ static struct PyGetSetDef getsetters[] = {
{"id", (getter)_getattr_id},
{"ptr", (getter)_getattr_ptr},
{"unsafe_ptrs", (getter)_getattr_unsafe_ptrs},
{"readonly", (getter) _getattr_readonly},
{"readonly", (getter)_getattr_readonly},
{NULL}};
/* basic sequence semantics */