Merged revisions 82342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r82342 | benjamin.peterson | 2010-06-28 14:43:42 -0500 (Mon, 28 Jun 2010) | 1 line update error message ........
This commit is contained in:
parent
783df8d491
commit
26eb9d0b47
|
@ -2533,8 +2533,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) {
|
||||
|
|
Loading…
Reference in New Issue