Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a971f1 commit 95b1ba6Copy full SHA for 95b1ba6
2 files changed
Doc/c-api/memoryview.rst
@@ -25,6 +25,8 @@ any other object.
25
Create a memoryview object using *mem* as the underlying buffer.
26
*flags* can be one of :c:macro:`PyBUF_READ` or :c:macro:`PyBUF_WRITE`.
27
28
+ .. versionadded:: 3.3
29
+
30
.. c:function:: PyObject *PyMemoryView_FromBuffer(Py_buffer *view)
31
32
Create a memoryview object wrapping the given buffer structure *view*.
Doc/whatsnew/3.3.rst
@@ -906,6 +906,10 @@ Build and C API Changes
906
907
Changes to Python's build process and to the C API include:
908
909
+* New :pep:`3118` related function:
910
911
+ * :c:func:`PyMemoryView_FromMemory`
912
913
* The :pep:`393` added new Unicode types, macros and functions:
914
915
* High-level API:
0 commit comments