From: Georg Brandl Date: Sat, 18 Apr 2009 08:26:21 +0000 (+0000) Subject: "not subscriptable" should be a bit more understandable than "unsubscriptable". X-Git-Tag: v2.7a1~1463 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f5fd5239819c5dfb1d7a33484be49dc705544d02;p=python "not subscriptable" should be a bit more understandable than "unsubscriptable". --- diff --git a/Objects/abstract.c b/Objects/abstract.c index e26e057a9b..cd14386f90 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -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