Skip to content

Commit

Permalink
Merge pull request #155 from hedythedev/patch-1
Browse files Browse the repository at this point in the history
Fix docstr in text.py (Trip to Strip) in rstrip
  • Loading branch information
willmcgugan authored Jul 12, 2020
2 parents 368dd38 + 28d40b4 commit 17bcbf5
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 17bcbf5

Please sign in to comment.