diff --git a/Objects/abstract.c b/Objects/abstract.c index e26e057a9b8..cd14386f90c 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