summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-08-06 17:43:55 +0000
committerGeorg Brandl <georg@python.org>2009-08-06 17:43:55 +0000
commit4a46e1c4b302bbb36cc9d418d6b9f6cf871a4d23 (patch)
tree1d416c70cea91d6e70a8c2f19c0b83793ef720dc
parent43161a51b8de5dc4beda5e2233197dd879dd8138 (diff)
downloadcpython-git-4a46e1c4b302bbb36cc9d418d6b9f6cf871a4d23.tar.gz
#6658: fix two typos.
-rw-r--r--Doc/c-api/buffer.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/buffer.rst b/Doc/c-api/buffer.rst
index 48243582ae..78b284ba54 100644
--- a/Doc/c-api/buffer.rst
+++ b/Doc/c-api/buffer.rst
@@ -148,7 +148,7 @@ Buffer related functions
kind of buffer the caller is prepared to deal with and therefore what
kind of buffer the exporter is allowed to return. The buffer interface
allows for complicated memory sharing possibilities, but some caller may
- not be able to handle all the complexibity but may want to see if the
+ not be able to handle all the complexity but may want to see if the
exporter will let them take a simpler view to its memory.
Some exporters may not be able to share memory in every possible way and
@@ -256,7 +256,7 @@ Buffer related functions
.. cfunction:: void PyBuffer_Release(PyObject *obj, Py_buffer *view)
- Release the buffer *view* over *obj*. This shouldd be called when the buffer
+ Release the buffer *view* over *obj*. This should be called when the buffer
is no longer being used as it may free memory from it.