mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
Typo
This commit is contained in:
parent
ed67005583
commit
307ea6b7fd
@ -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