... also when changing the row dynamically

This commit is contained in:
Gaëtan de Menten
2010-04-02 20:34:02 +02:00
parent 7e25d8218b
commit 646afe94ff
+1 -1
View File
@@ -392,7 +392,7 @@ BaseRowProxy_setrow(BaseRowProxy *self, PyObject *value, void *closure)
return -1;
}
if (!PyTuple_CheckExact(value)) {
if (!PySequence_Check(value)) {
PyErr_SetString(PyExc_TypeError,
"The 'row' attribute value must be a sequence");
return -1;