From e893af5ab78d2cfb6403ffa6ae31145010b88101 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Mon, 28 Jun 2010 19:43:42 +0000 Subject: update error message --- Objects/abstract.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Objects/abstract.c b/Objects/abstract.c index 9fb56b6..fa2611a 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) { -- cgit v0.12