Skip to content

Commit

Permalink
TextNode.__repr__: Doesn't use __str__
Browse files Browse the repository at this point in the history
  • Loading branch information
funkyfuture committed May 14, 2024
1 parent ff8a79b commit 51f2e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _delb/nodes.py
Original file line number Diff line number Diff line change
Expand Up @@ -2573,7 +2573,7 @@ def __getitem__(self, item):
def __repr__(self):
if self._exists:
return (
f'<{self.__class__.__name__}(text="{self}", '
f'<{self.__class__.__name__}(text="{self.content}", '
f"pos={self._position}) [{hex(id(self))}]>"
)
else:
Expand Down

0 comments on commit 51f2e1a

Please sign in to comment.