Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a53f36

Browse files
committed
fix some typos in Doc/c-api/memoryview.rst
1 parent f27be5c commit 5a53f36

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Doc/c-api/memoryview.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ any other object.
1717
1818
Create a memoryview object from an object that provides the buffer interface.
1919
If *obj* supports writable buffer exports, the memoryview object will be
20-
readable and writable, other it will be read-only.
20+
readable and writable, otherwise it will be read-only.
2121
2222
2323
.. c:function:: PyObject *PyMemoryView_FromBuffer(Py_buffer *view)
@@ -33,7 +33,7 @@ any other object.
3333
Create a memoryview object to a contiguous chunk of memory (in either
3434
'C' or 'F'ortran *order*) from an object that defines the buffer
3535
interface. If memory is contiguous, the memoryview object points to the
36-
original memory. Otherwise copy is made and the memoryview points to a
36+
original memory. Otherwise, a copy is made and the memoryview points to a
3737
new bytes object.
3838
3939

0 commit comments

Comments
 (0)