Closed KowerKoint closed 1 year ago
Hi!
Thanks for the report. This is not implemented, but it's doable. The only trick is to ensure that all custom (i.e. non-pybind) docstrings behave well too.
Note the upcoming function signature change in docstrings: https://github.com/pybind/pybind11/pull/2621
Closed with #112
When a function is overloaded, documentation comments is placed in wrong place.
For example, the C++ wrapper is below:
then,
__init__.pyi
below is generated:I expect it to be like below:
help(add)
prints separated documents, so I think this is pybind11-stubgen problem.Is there a solution to fix it?