diff --git a/edtf/parser/parser_classes.py b/edtf/parser/parser_classes.py index 0334738..14728f0 100644 --- a/edtf/parser/parser_classes.py +++ b/edtf/parser/parser_classes.py @@ -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: