diff --git a/docs/basics.rst b/docs/basics.rst index 0b1d85cfd..e0479b298 100644 --- a/docs/basics.rst +++ b/docs/basics.rst @@ -109,7 +109,7 @@ a file named :file:`example.cpp` with the following contents: PYBIND11_MODULE(example, m) { m.doc() = "pybind11 example plugin"; // optional module docstring - m.def("add", &add, "A function which adds two numbers"); + m.def("add", &add, "A function that adds two numbers"); } .. [#f1] In practice, implementation and binding code will generally be located