mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-26 15:12:01 +00:00
10d1304806
When using pybind::options to disable function signatures, user-defined docstrings only get appended if they exist, but newlines were getting appended unconditionally, so the docstring could end up with blank lines (depending on which overloads, in particular, provided docstrings). This commit suppresses the empty lines by only adding newlines for overloads when needed. |
||
---|---|---|
.. | ||
pybind11 |