File tree 1 file changed +3
-3
lines changed 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -324,12 +324,12 @@ The class ``options`` allows you to selectively suppress auto-generated signatur
324
324
m.def("add", [](int a, int b) { return a + b; }, "A function which adds two numbers");
325
325
}
326
326
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() ``
329
329
function of the ``options `` class.
330
330
331
331
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
333
333
function signatures and enum members are included in the docstring, unless they
334
334
are disabled separately.
335
335
You can’t perform that action at this time.
0 commit comments