mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-26 17:24:31 +03:00
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
273aa54052
commit
057651a50c
|
@ -3750,9 +3750,8 @@ _getattr_unsafe_ptrs(ImagingObject *self, void *closure) {
|
||||||
self->image->image);
|
self->image->image);
|
||||||
}
|
}
|
||||||
|
|
||||||
static PyObject*
|
static PyObject *
|
||||||
_getattr_readonly(ImagingObject* self, void* closure)
|
_getattr_readonly(ImagingObject *self, void *closure) {
|
||||||
{
|
|
||||||
return PyLong_FromLong(self->image->readonly);
|
return PyLong_FromLong(self->image->readonly);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -3763,7 +3762,7 @@ static struct PyGetSetDef getsetters[] = {
|
||||||
{"id", (getter)_getattr_id},
|
{"id", (getter)_getattr_id},
|
||||||
{"ptr", (getter)_getattr_ptr},
|
{"ptr", (getter)_getattr_ptr},
|
||||||
{"unsafe_ptrs", (getter)_getattr_unsafe_ptrs},
|
{"unsafe_ptrs", (getter)_getattr_unsafe_ptrs},
|
||||||
{"readonly", (getter) _getattr_readonly},
|
{"readonly", (getter)_getattr_readonly},
|
||||||
{NULL}};
|
{NULL}};
|
||||||
|
|
||||||
/* basic sequence semantics */
|
/* basic sequence semantics */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user