Skip to content

Commit

Permalink
Another f-string fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ahankinson committed Sep 12, 2024
1 parent fee0b64 commit 89f3692
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion edtf/parser/parser_classes.py
Original file line number Diff line number Diff line change
Expand Up @@ -1083,7 +1083,8 @@ def parse_action(cls, toks):
return cls(*args)

def __str__(self):
return f"{{{", ".join([str(o) for o in self.objects])}}}"
repr: str = ", ".join([str(o) for o in self.objects])
return f"{{{repr}}}"

def _strict_date(self, lean: str = EARLIEST):
if lean == LATEST:
Expand Down

0 comments on commit 89f3692

Please sign in to comment.