From ee126a94273b633487c55ce4743592ff9e55c699 Mon Sep 17 00:00:00 2001 From: Dave Pearson Date: Wed, 1 Mar 2023 14:37:30 +0000 Subject: [PATCH] Tidy up the docstring of Widget.scroll_left Delivering on a promise made in #1920. --- src/textual/widget.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/textual/widget.py b/src/textual/widget.py index 48535450e9..f28d99b988 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -1648,11 +1648,10 @@ def scroll_left( """Scroll one cell left. Args: - animate: Animate scroll. Defaults to True. - speed: Speed of scroll if animate is True. Or None to use duration. - duration: Duration of animation, if animate is True and speed is None. - easing: An easing method for the scrolling animation. Defaults to "None", - which will result in Textual choosing the configured default scrolling easing function. + animate: Animate scroll. + speed: Speed of scroll if `animate` is `True`; or None to use `duration`. + duration: Duration of animation, if `animate` is `True` and `speed` is `None`. + easing: An easing method for the scrolling animation. force: Force scrolling even when prohibited by overflow styling. Defaults to `False`. """ self.scroll_to(