diff options
author | Georg Brandl <georg@python.org> | 2009-04-18 08:26:21 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-04-18 08:26:21 (GMT) |
commit | f5fd5239819c5dfb1d7a33484be49dc705544d02 (patch) | |
tree | ad5ef8bd61231c5d41dcb3f3922640d2aec31c55 | |
parent | 783f49317394734c8e50e9e8c2aa34427e9e121e (diff) | |
download | cpython-f5fd5239819c5dfb1d7a33484be49dc705544d02.zip cpython-f5fd5239819c5dfb1d7a33484be49dc705544d02.tar.gz cpython-f5fd5239819c5dfb1d7a33484be49dc705544d02.tar.bz2 |
"not subscriptable" should be a bit more understandable than "unsubscriptable".
-rw-r--r-- | Objects/abstract.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c index e26e057..cd14386 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 |