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