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.