Skip to content

Commit 3f6aca1

Browse files
gh-141004: Document PyMemoryView_Type (GH-141034)
1 parent 35528fc commit 3f6aca1

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Doc/c-api/memoryview.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,12 @@ A :class:`memoryview` object exposes the C level :ref:`buffer interface
1313
any other object.
1414

1515

16+
.. c:var:: PyTypeObject PyMemoryView_Type
17+
18+
This instance of :c:type:`PyTypeObject` represents the Python memoryview
19+
type. This is the same object as :class:`memoryview` in the Python layer.
20+
21+
1622
.. c:function:: PyObject *PyMemoryView_FromObject(PyObject *obj)
1723
1824
Create a memoryview object from an object that provides the buffer interface.

0 commit comments

Comments
 (0)