Skip to content

Commit

Permalink
objective_c_symbol: Display class name on __repr__
Browse files Browse the repository at this point in the history
  • Loading branch information
netanelc305 committed Mar 6, 2024
1 parent e9be644 commit c4b702b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions hilda/objective_c_symbol.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,3 +231,6 @@ def __setattr__(self, key, value):

def __str__(self):
return self._to_str(False)

def __repr__(self):
return f'<{self.__class__.__name__} 0x{int(self):x} Class: {self.class_.name}>'

0 comments on commit c4b702b

Please sign in to comment.