]> granicus.if.org Git - python/commitdiff
"not subscriptable" should be a bit more understandable than "unsubscriptable".
authorGeorg Brandl <georg@python.org>
Sat, 18 Apr 2009 08:26:21 +0000 (08:26 +0000)
committerGeorg Brandl <georg@python.org>
Sat, 18 Apr 2009 08:26:21 +0000 (08:26 +0000)
Objects/abstract.c

index e26e057a9b80ded44333d854098d62b8454e9539..cd14386f90cb79fe0e5f6e8629f1354b7df0b8b4 100644 (file)
@@ -153,7 +153,7 @@ PyObject_GetItem(PyObject *o, PyObject *key)
                                          "be integer, not '%.200s'", key);
        }
 
-       return type_error("'%.200s' object is unsubscriptable", o);
+       return type_error("'%.200s' object is not subscriptable", o);
 }
 
 int