diff options
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/abstract.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index d10d9d4..917195a 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -1976,7 +1976,8 @@ PyObject_IsInstance(PyObject *inst, PyObject *cls) /* Do not mask errors. */ if (!PyErr_Occurred()) PyErr_SetString(PyExc_TypeError, - "isinstance() arg 2 must be a class or type"); + "isinstance() arg 2 must be a class, type," + " or tuple of classes and types"); return -1; } Py_DECREF(cls_bases); |