File: _imaging.c
Function: _draw_ink
Error: returning (PyObject*)NULL without setting an exception
2263 static PyObject* 
2264 _draw_ink(ImagingDrawObject* self, PyObject* args)
2265 {
2266     INT32 ink = 0;
2267     PyObject* color;
2268     char* mode = NULL; /* not used in this release */
2269     if (!PyArg_ParseTuple(args, "O|s", &color, &mode))
when PyArg_ParseTuple() succeeds
taking False path
2270         return NULL;
2271 
2272     if (!getink(color, self->image->image, (char*) &ink))
when treating unknown struct ImagingObject * from _imaging.c:2272 as non-NULL
when treating unknown char * from _imaging.c:2272 as NULL
taking True path
2273         return NULL;
2274 
2275     return PyInt_FromLong((int) ink);
2276 }
returning (PyObject*)NULL without setting an exception