Skip to content

Commit

Permalink
MNT: Update parachute __repr__ method 2 convention
Browse files Browse the repository at this point in the history
  • Loading branch information
Gui-FernandesBR committed Nov 30, 2023
1 parent f4437d3 commit daa2dd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rocketpy/rocket/parachute.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ def __str__(self):
def __repr__(self):
"""Representation method for the class, useful when debugging."""
return (
f"'{self.name}' parachute "
+ f"(cd_s = {self.cd_s:.4f} m2, trigger = {self.trigger})"
f"<Parachute {self.name} "
+ f"(cd_s = {self.cd_s:.4f} m2, trigger = {self.trigger})>"
)

def info(self):
Expand Down

0 comments on commit daa2dd6

Please sign in to comment.