commit | 61b96dc2fe814595651b6e1af394b34cb41fb485 | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Tue Aug 04 20:29:27 2009 +0000 |
committer | Georg Brandl <georg@python.org> | Tue Aug 04 20:29:27 2009 +0000 |
tree | 2ceb388e9f864705ca20209b1c34f0ac1089143a | |
parent | 3eb562ba4888bc1661c41fda35b1e4229f4a69aa [diff] [blame] |
Slightly improve buffer-related error message.
diff --git a/Objects/abstract.c b/Objects/abstract.c index 3b2de9d..5247824 100644 --- a/Objects/abstract.c +++ b/Objects/abstract.c
@@ -331,7 +331,7 @@ { if (!PyObject_CheckBuffer(obj)) { PyErr_Format(PyExc_TypeError, - "'%100s' does not have the buffer interface", + "'%100s' does not support the buffer interface", Py_TYPE(obj)->tp_name); return -1; }