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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5fd5239819c5dfb1d7a33484be49dc705544d02;p=thirdparty%2FPython%2Fcpython.git "not subscriptable" should be a bit more understandable than "unsubscriptable". --- diff --git a/Objects/abstract.c b/Objects/abstract.c index e26e057a9b80..cd14386f90cb 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