Skip to content

Commit

Permalink
Add docstring for synonyms
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Sep 23, 2024
1 parent 7742478 commit e1b4bea
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions freeqdsk/geqdsk.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,7 @@ def _synonym(canonical: str) -> property:
return property(
lambda self: getattr(self, canonical),
lambda self, value: setattr(self, canonical, value),
doc=f"Synonym for {canonical}",
)


Expand Down

0 comments on commit e1b4bea

Please sign in to comment.