cpython: Add PyMemoryView_FromMemory() to whatsnew/3.3.

http://hg.python.org/cpython/rev/09e9560d649b changeset: 75351:09e9560d649b parent: 75349:c85812b0e97d user: Stefan Krah <skrah@bytereef.org> date: Wed Feb 29 17:27:21 2012 +0100 summary: Add PyMemoryView_FromMemory() to whatsnew/3.3. files: Doc/c-api/memoryview.rst | 2 ++ Doc/whatsnew/3.3.rst | 4 ++++ 2 files changed, 6 insertions(+), 0 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 @@ -25,6 +25,8 @@ 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*. diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -906,6 +906,10 @@ 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: -- Repository URL: http://hg.python.org/cpython
participants (1)
-
stefan.krah