[Python-checkins] cpython (3.2): fix some typos in Doc/c-api/memoryview.rst

eli.bendersky python-checkins at python.org
Fri Nov 25 14:09:58 CET 2011


http://hg.python.org/cpython/rev/0f2e10596332
changeset:   73733:0f2e10596332
branch:      3.2
parent:      73730:f29d256be73d
user:        Eli Bendersky <eliben at gmail.com>
date:        Fri Nov 25 15:07:50 2011 +0200
summary:
  fix some typos in Doc/c-api/memoryview.rst

files:
  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
--- a/Doc/c-api/memoryview.rst
+++ b/Doc/c-api/memoryview.rst
@@ -17,7 +17,7 @@
 
    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 @@
    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.
 
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list