Skip to content

Commit

Permalink
Remove self from property annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
virtuald committed Dec 12, 2023
1 parent cbb64ea commit ffb8373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion robotpy_sphinx/pybind11_fixer.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ffb8373

Please sign in to comment.