Skip to content

Commit a7d7a10

Browse files
committed
Removed redundant argument parsing
1 parent 2810d7c commit a7d7a10

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/_imaging.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1013,10 +1013,6 @@ _convert_transparent(ImagingObject *self, PyObject *args) {
10131013

10141014
static PyObject *
10151015
_copy(ImagingObject *self, PyObject *args) {
1016-
if (!PyArg_ParseTuple(args, "")) {
1017-
return NULL;
1018-
}
1019-
10201016
return PyImagingNew(ImagingCopy(self->image));
10211017
}
10221018

0 commit comments

Comments
 (0)