This commit is contained in:
David Caron 2018-04-24 10:16:18 -04:00 committed by Jason Rhinelander
parent ed67005583
commit 307ea6b7fd

View File

@ -116,7 +116,7 @@ following example:
.. code-block:: cpp .. code-block:: cpp
void init_ex1(py::module &m) { void init_ex2(py::module &m) {
m.def("sub", [](int a, int b) { return a - b; }); m.def("sub", [](int a, int b) { return a - b; });
} }