mirror of
https://github.com/python/cpython.git
synced 2025-11-15 00:00:00 +00:00
"not subscriptable" should be a bit more understandable than "unsubscriptable".
This commit is contained in:
parent
783f493173
commit
f5fd523981
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue