Skip to content

Commit cb211d5

Browse files
committedNov 7, 2023
Fix docstring typos
1 parent 6fd3734 commit cb211d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed
 

‎rich/text.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -637,9 +637,9 @@ def highlight_words(
637637
"""Highlight words with a style.
638638
639639
Args:
640-
words (Iterable[str]): Worlds to highlight.
640+
words (Iterable[str]): Words to highlight.
641641
style (Union[str, Style]): Style to apply.
642-
case_sensitive (bool, optional): Enable case sensitive matchings. Defaults to True.
642+
case_sensitive (bool, optional): Enable case sensitive matching. Defaults to True.
643643
644644
Returns:
645645
int: Number of words highlighted.

0 commit comments

Comments
 (0)
Please sign in to comment.