Skip to content

Commit ede83c2

Browse files
committed
Improve documentation wording
1 parent 15f2e40 commit ede83c2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/advanced/misc.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -324,12 +324,12 @@ The class ``options`` allows you to selectively suppress auto-generated signatur
324324
m.def("add", [](int a, int b) { return a + b; }, "A function which adds two numbers");
325325
}
326326
327-
pybind11 also appends all members of an enum to the resulting enum docstring,
328-
this default behaviour can be disabled by using the ``disable_enum_members_docstring()``
327+
pybind11 also appends all members of an enum to the resulting enum docstring.
328+
This default behavior can be disabled by using the ``disable_enum_members_docstring()``
329329
function of the ``options`` class.
330330

331331
With ``disable_user_defined_docstrings()`` all user defined docstrings of
332-
``module_::def()``, ``class_::def()`` and ``enum_()`` are discarded, but the
332+
``module_::def()``, ``class_::def()`` and ``enum_()`` are disabled, but the
333333
function signatures and enum members are included in the docstring, unless they
334334
are disabled separately.
335335

0 commit comments

Comments
 (0)