diff options
author | Eli Bendersky <eliben@gmail.com> | 2011-11-25 13:08:45 (GMT) |
---|---|---|
committer | Eli Bendersky <eliben@gmail.com> | 2011-11-25 13:08:45 (GMT) |
commit | 0481f4bca45fbe9b3c3f2a2d7135fcbd8b34dc30 (patch) | |
tree | ebda3b1f0ce71e7147379f2dee394e0ba162df07 /Doc/c-api | |
parent | 61ea8a0d286226ee8b773a01bb2da6b4aa03eb8d (diff) | |
parent | 5a53f368e61a5535571362e36c451827ee7d3a27 (diff) | |
download | cpython-0481f4bca45fbe9b3c3f2a2d7135fcbd8b34dc30.zip cpython-0481f4bca45fbe9b3c3f2a2d7135fcbd8b34dc30.tar.gz cpython-0481f4bca45fbe9b3c3f2a2d7135fcbd8b34dc30.tar.bz2 |
fix some typos in Doc/c-api/memoryview.rst
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/memoryview.rst | 4 |
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. |