1901 static PyObject*
1902 _putband(ImagingObject* self, PyObject* args)
1903 {
1904 ImagingObject* imagep;
1905 int band;
1906 if (!PyArg_ParseTuple(args, "O!i",
when PyArg_ParseTuple() succeeds
taking False path
1907 &Imaging_Type, &imagep,
1908 &band))
1909 return NULL;
1910
1911 if (!ImagingPutBand(self->image, imagep->image, band))
when treating unknown struct ImagingMemoryInstance * from _imaging.c:1911 as NULL
taking True path
1912 return NULL;
1913
1914 Py_INCREF(Py_None);
1915 return Py_None;
1916 }
returning (PyObject*)NULL without setting an exception