]> granicus.if.org Git - python/commitdiff
Add PyMemoryView_FromMemory() to whatsnew/3.3.
authorStefan Krah <skrah@bytereef.org>
Wed, 29 Feb 2012 16:27:21 +0000 (17:27 +0100)
committerStefan Krah <skrah@bytereef.org>
Wed, 29 Feb 2012 16:27:21 +0000 (17:27 +0100)
Doc/c-api/memoryview.rst
Doc/whatsnew/3.3.rst

index ef039753afcd8c865eaea1f04bace628ea979dc0..5e50977cbee32af11c6505406c8daab4e557f706 100644 (file)
@@ -25,6 +25,8 @@ any other object.
    Create a memoryview object using *mem* as the underlying buffer.
    *flags* can be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`.
 
+   .. versionadded:: 3.3
+
 .. c:function:: PyObject *PyMemoryView_FromBuffer(Py_buffer *view)
 
    Create a memoryview object wrapping the given buffer structure *view*.
index 9d161fab70c9193c13fc172ebacd03cd6aea326a..f1f79d67823668b0052c66aa4180b0cc88452aa5 100644 (file)
@@ -906,6 +906,10 @@ Build and C API Changes
 
 Changes to Python's build process and to the C API include:
 
+* New :pep:`3118` related function:
+
+  * :c:func:`PyMemoryView_FromMemory`
+
 * The :pep:`393` added new Unicode types, macros and functions:
 
   * High-level API: