mirror of https://github.com/Textualize/rich.git
Fix docstr in text.py (Trip to Strip) in rstrip
This commit is contained in:
parent
368dd38c7f
commit
28d40b4cd6
|
@ -406,7 +406,7 @@ class Text(JupyterMixin):
|
|||
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):
|
||||
|
|
Loading…
Reference in New Issue