commit | e893af5ab78d2cfb6403ffa6ae31145010b88101 | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Mon Jun 28 19:43:42 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Mon Jun 28 19:43:42 2010 +0000 |
tree | 2a89302daa4258d73c77a94056f1cc0005e28797 | |
parent | 13a7eb452940bf02bcd5ac1a15c630d011027b51 [diff] [blame] |
update error message
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 @@ } 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) {