]> granicus.if.org Git - python/commitdiff
Merged revisions 82342 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Mon, 28 Jun 2010 19:46:35 +0000 (19:46 +0000)
committerBenjamin Peterson <benjamin@python.org>
Mon, 28 Jun 2010 19:46:35 +0000 (19:46 +0000)
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r82342 | benjamin.peterson | 2010-06-28 14:43:42 -0500 (Mon, 28 Jun 2010) | 1 line

  update error message
........

Objects/abstract.c

index 2d851041313afa1bd9c525442e2eb36a03e648c9..75eb15496573d4cf0b69ca5dddc5e3d715e4e003 100644 (file)
@@ -2533,8 +2533,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) {