diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-02-29 16:27:21 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-02-29 16:27:21 (GMT) |
commit | 95b1ba63886fbfbd508d133d9ce176501ede822d (patch) | |
tree | 49c3c13150579d5d2291608f269c8263ef6111c5 /Doc/c-api | |
parent | 0a971f18ccf06a8aff20128c760c00efe592df6e (diff) | |
download | cpython-95b1ba63886fbfbd508d133d9ce176501ede822d.zip cpython-95b1ba63886fbfbd508d133d9ce176501ede822d.tar.gz cpython-95b1ba63886fbfbd508d133d9ce176501ede822d.tar.bz2 |
Add PyMemoryView_FromMemory() to whatsnew/3.3.
Diffstat (limited to 'Doc/c-api')
-rw-r--r-- | Doc/c-api/memoryview.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/c-api/memoryview.rst b/Doc/c-api/memoryview.rst index ef03975..5e50977 100644 --- a/Doc/c-api/memoryview.rst +++ b/Doc/c-api/memoryview.rst @@ -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*. |