From 5afe9df30a07d65fd4706d5ded8d5a13902e38ba Mon Sep 17 00:00:00 2001 From: Ivan Smirnov Date: Sat, 2 Jul 2016 16:17:21 +0100 Subject: [PATCH] Minor fix in the docs --- docs/advanced.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/advanced.rst b/docs/advanced.rst index 649454c91..dca4a29d2 100644 --- a/docs/advanced.rst +++ b/docs/advanced.rst @@ -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