mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-03-12 16:55:47 +03:00
Use default PyTypeObject values
This commit is contained in:
parent
9abfdbc532
commit
d80ac3cd5f
|
@ -883,7 +883,6 @@ static PyTypeObject AvifEncoder_Type = {
|
||||||
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifEncoder",
|
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifEncoder",
|
||||||
.tp_basicsize = sizeof(AvifEncoderObject),
|
.tp_basicsize = sizeof(AvifEncoderObject),
|
||||||
.tp_dealloc = (destructor)_encoder_dealloc,
|
.tp_dealloc = (destructor)_encoder_dealloc,
|
||||||
.tp_flags = Py_TPFLAGS_DEFAULT,
|
|
||||||
.tp_methods = _encoder_methods,
|
.tp_methods = _encoder_methods,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -899,7 +898,6 @@ static PyTypeObject AvifDecoder_Type = {
|
||||||
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifDecoder",
|
PyVarObject_HEAD_INIT(NULL, 0).tp_name = "AvifDecoder",
|
||||||
.tp_basicsize = sizeof(AvifDecoderObject),
|
.tp_basicsize = sizeof(AvifDecoderObject),
|
||||||
.tp_dealloc = (destructor)_decoder_dealloc,
|
.tp_dealloc = (destructor)_decoder_dealloc,
|
||||||
.tp_flags = Py_TPFLAGS_DEFAULT,
|
|
||||||
.tp_methods = _decoder_methods,
|
.tp_methods = _decoder_methods,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user