mirror of
https://github.com/RYDE-WORK/pybind11.git
synced 2026-01-19 21:23:26 +08: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…
x
Reference in New Issue
Block a user