summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-28 19:43:42 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-06-28 19:43:42 (GMT)
commite893af5ab78d2cfb6403ffa6ae31145010b88101 (patch)
tree2a89302daa4258d73c77a94056f1cc0005e28797 /Objects
parent13a7eb452940bf02bcd5ac1a15c630d011027b51 (diff)
downloadcpython-e893af5ab78d2cfb6403ffa6ae31145010b88101.zip
cpython-e893af5ab78d2cfb6403ffa6ae31145010b88101.tar.gz
cpython-e893af5ab78d2cfb6403ffa6ae31145010b88101.tar.bz2
update error message
Diffstat (limited to 'Objects')
-rw-r--r--Objects/abstract.c3
1 files changed, 1 insertions, 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) {