summaryrefslogtreecommitdiffstats
path: root/Include/memoryobject.h
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 /Include/memoryobject.h
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 'Include/memoryobject.h')
-rw-r--r--Include/memoryobject.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/memoryobject.h b/Include/memoryobject.h
index eb49c2e..1713e8f 100644
--- a/Include/memoryobject.h
+++ b/Include/memoryobject.h
@@ -33,15 +33,15 @@ PyAPI_FUNC(PyObject *) PyMemoryView_GetContiguous(PyObject *base, int buffertype
The buffertype argument can be PyBUF_READ, PyBUF_WRITE,
PyBUF_UPDATEIFCOPY to determine whether the returned buffer
- should be READONLY, WRITEABLE, or set to update the
+ should be READONLY, WRITABLE, or set to update the
original buffer if a copy must be made. If buffertype is
PyBUF_WRITE and the buffer is not contiguous an error will
be raised. In this circumstance, the user can use
- PyBUF_UPDATEIFCOPY to ensure that a a writeable temporary
+ PyBUF_UPDATEIFCOPY to ensure that a a writable temporary
contiguous buffer is returned. The contents of this
contiguous buffer will be copied back into the original
object after the memoryview object is deleted as long as
- the original object is writeable and allows setting its
+ the original object is writable and allows setting its
memory to "readonly". If this is not allowed by the
original object, then a BufferError is raised.