[Python-checkins] r82342 - python/branches/py3k/Objects/abstract.c

benjamin.peterson python-checkins at python.org
Mon Jun 28 21:43:43 CEST 2010


Author: benjamin.peterson
Date: Mon Jun 28 21:43:42 2010
New Revision: 82342

Log:
update error message

Modified:
   python/branches/py3k/Objects/abstract.c

Modified: python/branches/py3k/Objects/abstract.c
==============================================================================
--- python/branches/py3k/Objects/abstract.c	(original)
+++ python/branches/py3k/Objects/abstract.c	Mon Jun 28 21:43:42 2010
@@ -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) {


More information about the Python-checkins mailing list