mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-28 08:02:00 +00:00
Typo
This commit is contained in:
parent
a464273610
commit
27c7697f24
@ -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; });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user