diff options
| author | 2020-06-04 04:12:37 -0400 | |
|---|---|---|
| committer | 2020-06-04 04:12:37 -0400 | |
| commit | 974bf0fe2074d141299b826ce7b8a2479df960b5 (patch) | |
| tree | 8ee98e1509188a108ef6f318faf63f9dcea15dd0 | |
| parent | Fix docstring for _split_remaing_words() (diff) | |
Fix _split_remaining_words() docstring summary
| -rw-r--r-- | bot/pagination.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bot/pagination.py b/bot/pagination.py index 590d9da96..ba10da57e 100644 --- a/bot/pagination.py +++ b/bot/pagination.py @@ -114,7 +114,8 @@ class LinePaginator(Paginator): self.add_line(remaining_words) def _split_remaining_words(self, line: str, max_chars: int) -> t.Tuple[str, t.Optional[str]]: - """Internal: split a line into two strings -- reduced_words and remaining_words. + """ + Internal: split a line into two strings -- reduced_words and remaining_words. reduced_words: the remaining words in `line`, after attempting to remove all words that exceed `max_chars` (rounding down to the nearest word boundary). |