Method: rich.text.Span.__repr__
Calls: 192, Exceptions: 0, Paths: 1Back
Path 1: 192 calls (1.0)
"Span(0, 4, 'iso8601.year')" (15) "Span(0, 2, 'iso8601.hour')" (9) "Span(5, 7, 'iso8601.month')" (7) "Span(0, 10, 'iso8601.date')" (7) "Span(8, 10, 'i...
1def __repr__(self) -> str:
2 return (
3 f"Span({self.start}, {self.end}, {self.style!r})"
4 if (isinstance(self.style, Style) and self.style._meta)
5 else f"Span({self.start}, {self.end}, {repr(self.style)})"
6 )