mirror of
https://github.com/python-pillow/Pillow.git
synced 2025-02-23 23:30:34 +03:00
Removed redundant argument parsing
This commit is contained in:
parent
2810d7c6ba
commit
a7d7a1080e
|
@ -1013,10 +1013,6 @@ _convert_transparent(ImagingObject *self, PyObject *args) {
|
||||||
|
|
||||||
static PyObject *
|
static PyObject *
|
||||||
_copy(ImagingObject *self, PyObject *args) {
|
_copy(ImagingObject *self, PyObject *args) {
|
||||||
if (!PyArg_ParseTuple(args, "")) {
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
return PyImagingNew(ImagingCopy(self->image));
|
return PyImagingNew(ImagingCopy(self->image));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user