Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 18dcc54

Browse files
committed
Delete an extra word in an error message
1 parent 3cd073f commit 18dcc54

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/_png.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ static PyObject *Py_write_png(PyObject *self, PyObject *args, PyObject *kwds)
117117
break;
118118
default:
119119
PyErr_SetString(PyExc_ValueError,
120-
"Buffer must be RGBA NxMxD array with D in 1, 3, 4 "
120+
"Buffer must be an NxMxD array with D in 1, 3, 4 "
121121
"(grayscale, RGB, RGBA)");
122122
goto exit;
123123
}

0 commit comments

Comments
 (0)