Path 1: 2604 calls (1.0)

Text (2604)

1def copy(self) -> "Text":
2        """Return a copy of this instance."""
3        copy_self = Text(
4            self.plain,
5            style=self.style,
6            justify=self.justify,
7            overflow=self.overflow,
8            no_wrap=self.no_wrap,
9            end=self.end,
10            tab_size=self.tab_size,
11        )
12        copy_self._spans[:] = self._spans
13        return copy_self