From 305a1a0d6ef592ab34a27e935674614c7004b268 Mon Sep 17 00:00:00 2001 From: Roy Schenker Date: Wed, 17 Sep 2025 10:42:38 +0300 Subject: [PATCH] fix(typo): correct typo in Text.divide docstring --- CONTRIBUTORS.md | 1 + rich/text.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 4b04786b9c..d72186c083 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -61,6 +61,7 @@ The following people have contributed to the development of Rich: - [Min RK](https://github.com/minrk) - [Clément Robert](https://github.com/neutrinoceros) - [Brian Rutledge](https://github.com/bhrutledge) +- [royiro](https://github.com/royiro10) - [Tushar Sadhwani](https://github.com/tusharsadhwani) - [Luca Salvarani](https://github.com/LukeSavefrogs) - [Paul Sanders](https://github.com/sanders41) diff --git a/rich/text.py b/rich/text.py index b57d77c276..b5b114b42e 100644 --- a/rich/text.py +++ b/rich/text.py @@ -1105,7 +1105,7 @@ def flatten_spans() -> Iterable[int]: return lines def divide(self, offsets: Iterable[int]) -> Lines: - """Divide text in to a number of lines at given offsets. + """Divide text into a number of lines at given offsets. Args: offsets (Iterable[int]): Offsets used to divide text.