mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 05:05:11 +00:00
fixed missing semicolon in documentation
This commit is contained in:
parent
b456ec789d
commit
10e62e168b
@ -10,7 +10,7 @@ present:
|
||||
|
||||
#include <pybind11/pybind11.h>
|
||||
|
||||
namespace py = pybind11
|
||||
namespace py = pybind11;
|
||||
|
||||
Operator overloading
|
||||
====================
|
||||
|
@ -85,7 +85,7 @@ a file named :file:`example.cpp` with the following contents:
|
||||
return i + j;
|
||||
}
|
||||
|
||||
namespace py = pybind11
|
||||
namespace py = pybind11;
|
||||
|
||||
PYBIND_PLUGIN(example) {
|
||||
py::module m("example", "pybind11 example plugin");
|
||||
|
@ -25,7 +25,7 @@ The binding code for ``Pet`` looks as follows:
|
||||
|
||||
#include <pybind11/pybind11.h>
|
||||
|
||||
namespace py = pybind11
|
||||
namespace py = pybind11;
|
||||
|
||||
PYBIND_PLUGIN(example) {
|
||||
py::module m("example", "pybind11 example plugin");
|
||||
|
Loading…
Reference in New Issue
Block a user