Skip to content

Commit

Permalink
Fix docstr in text.py (Trip to Strip) in rstrip
Browse files Browse the repository at this point in the history
  • Loading branch information
hedyhli authored Jul 12, 2020
1 parent 368dd38 commit 28d40b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rich/text.py
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ def highlight_words(
return count

def rstrip(self) -> None:
"""Trip whitespace from end of text."""
"""Strip whitespace from end of text."""
self.plain = self.plain.rstrip()

def rstrip_end(self, size: int):
Expand Down

0 comments on commit 28d40b4

Please sign in to comment.