mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-01-14 03:21:44 +03:00
Merge pull request #5833 from hoodmane/fix-pushes_fd-signature
This commit is contained in:
commit
749754af88
|
@ -235,7 +235,7 @@ _setfd(ImagingDecoderObject *decoder, PyObject *args) {
|
|||
}
|
||||
|
||||
static PyObject *
|
||||
_get_pulls_fd(ImagingDecoderObject *decoder) {
|
||||
_get_pulls_fd(ImagingDecoderObject *decoder, void *closure) {
|
||||
return PyBool_FromLong(decoder->pulls_fd);
|
||||
}
|
||||
|
||||
|
|
|
@ -299,7 +299,7 @@ _setfd(ImagingEncoderObject *encoder, PyObject *args) {
|
|||
}
|
||||
|
||||
static PyObject *
|
||||
_get_pushes_fd(ImagingEncoderObject *encoder) {
|
||||
_get_pushes_fd(ImagingEncoderObject *encoder, void *closure) {
|
||||
return PyBool_FromLong(encoder->pushes_fd);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user