diff options
author | Georg Brandl <georg@python.org> | 2009-08-04 20:29:27 +0000 |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2009-08-04 20:29:27 +0000 |
commit | 61b96dc2fe814595651b6e1af394b34cb41fb485 (patch) | |
tree | 2ceb388e9f864705ca20209b1c34f0ac1089143a /Objects/memoryobject.c | |
parent | 3eb562ba4888bc1661c41fda35b1e4229f4a69aa (diff) | |
download | cpython-git-61b96dc2fe814595651b6e1af394b34cb41fb485.tar.gz |
Slightly improve buffer-related error message.
Diffstat (limited to 'Objects/memoryobject.c')
-rw-r--r-- | Objects/memoryobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c index 2990c25638..7acd569d73 100644 --- a/Objects/memoryobject.c +++ b/Objects/memoryobject.c @@ -255,7 +255,7 @@ PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char fort) if (!PyObject_CheckBuffer(obj)) { PyErr_SetString(PyExc_TypeError, - "object does not have the buffer interface"); + "object does not support the buffer interface"); return NULL; } |