From: Benjamin Peterson Date: Mon, 28 Jun 2010 19:43:42 +0000 (+0000) Subject: update error message X-Git-Tag: v3.2a1~401 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e893af5ab78d2cfb6403ffa6ae31145010b88101;p=python update error message --- diff --git a/Objects/abstract.c b/Objects/abstract.c index 9fb56b6b17..fa2611aec9 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -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) {