| 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/memoryobject.c b/Objects/memoryobject.c index 2990c25..7acd569 100644 --- a/Objects/memoryobject.c +++ b/Objects/memoryobject.c
@@ -255,7 +255,7 @@ if (!PyObject_CheckBuffer(obj)) { PyErr_SetString(PyExc_TypeError, - "object does not have the buffer interface"); + "object does not support the buffer interface"); return NULL; }