mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Minor fix in the docs
This commit is contained in:
parent
872bd92575
commit
5afe9df30a
@ -1362,7 +1362,7 @@ NumPy structured types
|
||||
======================
|
||||
|
||||
In order for ``py::array_t`` to work with structured (record) types, we first need
|
||||
to register the memory layout of the type. This could be done via ``PYBIND11_DTYPE``
|
||||
to register the memory layout of the type. This can be done via ``PYBIND11_DTYPE``
|
||||
macro which expects the type followed by field names:
|
||||
|
||||
.. code-block:: cpp
|
||||
|
Loading…
Reference in New Issue
Block a user