diff options
author | Benjamin Peterson <benjamin@python.org> | 2010-06-28 19:43:42 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2010-06-28 19:43:42 (GMT) |
commit | e893af5ab78d2cfb6403ffa6ae31145010b88101 (patch) | |
tree | 2a89302daa4258d73c77a94056f1cc0005e28797 /Objects/abstract.c | |
parent | 13a7eb452940bf02bcd5ac1a15c630d011027b51 (diff) | |
download | cpython-e893af5ab78d2cfb6403ffa6ae31145010b88101.zip cpython-e893af5ab78d2cfb6403ffa6ae31145010b88101.tar.gz cpython-e893af5ab78d2cfb6403ffa6ae31145010b88101.tar.bz2 |
update error message
Diffstat (limited to 'Objects/abstract.c')
-rw-r--r-- | Objects/abstract.c | 3 |
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) { |