summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2003-10-27 09:22:16 (GMT)
committerRaymond Hettinger <python@rcn.com>2003-10-27 09:22:16 (GMT)
commit98779e0e36777dc6fe2f7e03b1059cd6a3ff1c76 (patch)
treec2c05681d7ba5d9208d82bca45d7e1186379370e /Objects
parent9c7ed4c6dfe9ad33538014249142a99a90279b1a (diff)
downloadcpython-98779e0e36777dc6fe2f7e03b1059cd6a3ff1c76.zip
cpython-98779e0e36777dc6fe2f7e03b1059cd6a3ff1c76.tar.gz
cpython-98779e0e36777dc6fe2f7e03b1059cd6a3ff1c76.tar.bz2
Fix Greg Ward's error message nit: PyObject_SetItem and PySequenceSetItem
had slightly different error messages.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/abstract.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/abstract.c b/Objects/abstract.c
index 36c1608..7e246db 100644
--- a/Objects/abstract.c
+++ b/Objects/abstract.c
@@ -1252,7 +1252,7 @@ PySequence_SetItem(PyObject *s, int i, PyObject *o)
return m->sq_ass_item(s, i, o);
}
- type_error("object doesn't support item assignment");
+ type_error("object does not support item assignment");
return -1;
}