summaryrefslogtreecommitdiffstats
path: root/Objects/memoryobject.c
diff options
context:
space:
mode:
authorSean Reifscheider <jafo@tummy.com>2007-09-17 17:55:36 (GMT)
committerSean Reifscheider <jafo@tummy.com>2007-09-17 17:55:36 (GMT)
commit54cf12b625397ff52e30efd9b14f0b61edfdfd9d (patch)
tree98eb3de7701e05ae46d4fa16e4c357a162e8a9fc /Objects/memoryobject.c
parenta5b8e04bd572099095fbf6b32dadde637b6e6f7b (diff)
downloadcpython-54cf12b625397ff52e30efd9b14f0b61edfdfd9d.zip
cpython-54cf12b625397ff52e30efd9b14f0b61edfdfd9d.tar.gz
cpython-54cf12b625397ff52e30efd9b14f0b61edfdfd9d.tar.bz2
Fixing the spelling of "writeable" to "writable", particularly PyBUF_WRITEABLE.
Diffstat (limited to 'Objects/memoryobject.c')
-rw-r--r--Objects/memoryobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/memoryobject.c b/Objects/memoryobject.c
index 51dd1e0..f0a7053 100644
--- a/Objects/memoryobject.c
+++ b/Objects/memoryobject.c
@@ -183,8 +183,8 @@ _indirect_copy_nd(char *dest, PyBuffer *view, char fort)
buffertype
PyBUF_READ buffer only needs to be read-only
- PyBUF_WRITE buffer needs to be writeable (give error if not contiguous)
- PyBUF_SHADOW buffer needs to be writeable so shadow it with
+ PyBUF_WRITE buffer needs to be writable (give error if not contiguous)
+ PyBUF_SHADOW buffer needs to be writable so shadow it with
a contiguous buffer if it is not. The view will point to
the shadow buffer which can be written to and then
will be copied back into the other buffer when the memory
@@ -235,7 +235,7 @@ PyMemoryView_GetContiguous(PyObject *obj, int buffertype, char fort)
if (buffertype == PyBUF_WRITE) {
PyObject_DEL(mem);
PyErr_SetString(PyExc_BufferError,
- "writeable contiguous buffer requested for a non-contiguous" \
+ "writable contiguous buffer requested for a non-contiguous" \
"object.");
return NULL;
}