summaryrefslogtreecommitdiff
path: root/Objects/memoryobject.c
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-08-04 20:29:27 +0000
committerGeorg Brandl <georg@python.org>2009-08-04 20:29:27 +0000
commit61b96dc2fe814595651b6e1af394b34cb41fb485 (patch)
tree2ceb388e9f864705ca20209b1c34f0ac1089143a /Objects/memoryobject.c
parent3eb562ba4888bc1661c41fda35b1e4229f4a69aa (diff)
downloadcpython-git-61b96dc2fe814595651b6e1af394b34cb41fb485.tar.gz
Slightly improve buffer-related error message.
Diffstat (limited to 'Objects/memoryobject.c')
-rw-r--r--Objects/memoryobject.c2
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;
}