This commit is contained in:
Will McGugan 2021-01-27 21:17:02 +00:00
parent 247431544d
commit 65e6eff756
2 changed files with 1 additions and 1 deletions

View File

@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Changed
- Some optimizations for Text
- Further optimized Tracebacks by not tokenizing code more that necessary
- Table Column.header_style and Column.footer_style are now added to Table header/footer style
## [9.9.0] - 2021-01-23

View File

@ -687,7 +687,6 @@ class Text(JupyterMixin):
def _trim_spans(self) -> None:
"""Remove or modify any spans that are over the end of the text."""
# new_length = self._length
max_offset = len(self.plain)
_Span = Span
self._spans[:] = [