diff --git a/robotpy_sphinx/pybind11_fixer.py b/robotpy_sphinx/pybind11_fixer.py index f6d45b6..8ce29d9 100644 --- a/robotpy_sphinx/pybind11_fixer.py +++ b/robotpy_sphinx/pybind11_fixer.py @@ -22,7 +22,7 @@ def process_signature( if fdoc and fdoc.startswith("(self:"): s = fdoc.split("->") if len(s) == 2: - return "(self)", s[1] + return "()", s[1] return