diff --git a/Objects/abstract.c b/Objects/abstract.c index 1d5c4d548b7..5cabe589809 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c @@ -1946,7 +1946,7 @@ PySequence_GetItem(PyObject *s, Py_ssize_t i) return m->sq_item(s, i); } - return type_error("'%.200s' object is unindexable", s); + return type_error("'%.200s' object does not support indexing", s); } PyObject *