Skip to content

Commit

Permalink
Fix docstring typos
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Nov 7, 2023
1 parent 6fd3734 commit cb211d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rich/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -637,9 +637,9 @@ def highlight_words(
"""Highlight words with a style.
Args:
words (Iterable[str]): Worlds to highlight.
words (Iterable[str]): Words to highlight.
style (Union[str, Style]): Style to apply.
case_sensitive (bool, optional): Enable case sensitive matchings. Defaults to True.
case_sensitive (bool, optional): Enable case sensitive matching. Defaults to True.
Returns:
int: Number of words highlighted.
Expand Down

0 comments on commit cb211d5

Please sign in to comment.