summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Bendersky <eliben@gmail.com>2011-11-25 13:07:50 (GMT)
committerEli Bendersky <eliben@gmail.com>2011-11-25 13:07:50 (GMT)
commit5a53f368e61a5535571362e36c451827ee7d3a27 (patch)
treeb11c02331edfdfc2fc0b433e2a77b59cd8434a01
parentf27be5c60be83ac98e6c5c8b99b6b63f4bb8f23d (diff)
downloadcpython-5a53f368e61a5535571362e36c451827ee7d3a27.zip
cpython-5a53f368e61a5535571362e36c451827ee7d3a27.tar.gz
cpython-5a53f368e61a5535571362e36c451827ee7d3a27.tar.bz2
fix some typos in Doc/c-api/memoryview.rst
-rw-r--r--Doc/c-api/memoryview.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/c-api/memoryview.rst b/Doc/c-api/memoryview.rst
index 34ecd12..6b49cdf 100644
--- a/Doc/c-api/memoryview.rst
+++ b/Doc/c-api/memoryview.rst
@@ -17,7 +17,7 @@ any other object.
Create a memoryview object from an object that provides the buffer interface.
If *obj* supports writable buffer exports, the memoryview object will be
- readable and writable, other it will be read-only.
+ readable and writable, otherwise it will be read-only.
.. c:function:: PyObject *PyMemoryView_FromBuffer(Py_buffer *view)
@@ -33,7 +33,7 @@ any other object.
Create a memoryview object to a contiguous chunk of memory (in either
'C' or 'F'ortran *order*) from an object that defines the buffer
interface. If memory is contiguous, the memoryview object points to the
- original memory. Otherwise copy is made and the memoryview points to a
+ original memory. Otherwise, a copy is made and the memoryview points to a
new bytes object.