mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-25 06:35:12 +00:00
Typo
This commit is contained in:
parent
ed67005583
commit
307ea6b7fd
@ -116,7 +116,7 @@ following example:
|
||||
|
||||
.. 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; });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user