update error message

This commit is contained in:
Benjamin Peterson 2010-06-28 19:43:42 +00:00
parent 13a7eb4529
commit e893af5ab7
1 changed files with 1 additions and 2 deletions

View File

@ -2522,8 +2522,7 @@ recursive_isinstance(PyObject *inst, PyObject *cls)
}
else {
if (!check_class(cls,
"isinstance() arg 2 must be a class, type,"
" or tuple of classes and types"))
"isinstance() arg 2 must be a type or tuple of types"))
return -1;
icls = PyObject_GetAttr(inst, __class__);
if (icls == NULL) {