summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2009-08-06 17:43:55 (GMT)
committerGeorg Brandl <georg@python.org>2009-08-06 17:43:55 (GMT)
commit4a46e1c4b302bbb36cc9d418d6b9f6cf871a4d23 (patch)
tree1d416c70cea91d6e70a8c2f19c0b83793ef720dc /Doc/c-api
parent43161a51b8de5dc4beda5e2233197dd879dd8138 (diff)
downloadcpython-4a46e1c4b302bbb36cc9d418d6b9f6cf871a4d23.zip
cpython-4a46e1c4b302bbb36cc9d418d6b9f6cf871a4d23.tar.gz
cpython-4a46e1c4b302bbb36cc9d418d6b9f6cf871a4d23.tar.bz2
#6658: fix two typos.
Diffstat (limited to 'Doc/c-api')
-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 4824358..78b284b 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.