← Back to DAGDA | Support | Source: https://github.com/python/cpython/commit/f5fd5239819c5dfb1d7a33484be49dc705544d02
Skip to content

Commit f5fd523

Browse files
committed
"not subscriptable" should be a bit more understandable than "unsubscriptable".
1 parent 783f493 commit f5fd523

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎Objects/abstract.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ PyObject_GetItem(PyObject *o, PyObject *key)
153153
"be integer, not '%.200s'", key);
154154
}
155155

156-
return type_error("'%.200s' object is unsubscriptable", o);
156+
return type_error("'%.200s' object is not subscriptable", o);
157157
}
158158

159159
int

0 commit comments

Comments
 (0)