From 0943d5a263bdb072b7937aa75e09eb2c11f7bccc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodrigo=20Gir=C3=A3o=20Serr=C3=A3o?= <5621605+RodrigoGiraoSerrao@users.noreply.github.com> Date: Fri, 18 Nov 2022 13:14:40 +0000 Subject: [PATCH] Fix docstring signatures. --- src/textual/reactive.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/textual/reactive.py b/src/textual/reactive.py index 7cd88d6300..c71070ba38 100644 --- a/src/textual/reactive.py +++ b/src/textual/reactive.py @@ -43,7 +43,7 @@ class Reactive(Generic[ReactiveType]): layout (bool, optional): Perform a layout on change. Defaults to False. repaint (bool, optional): Perform a repaint on change. Defaults to True. init (bool, optional): Call watchers on initialize (post mount). Defaults to False. - always_update(bool, optional): Call watchers even when the new value equals the old value. Defaults to False. + always_update (bool, optional): Call watchers even when the new value equals the old value. Defaults to False. """ def __init__( @@ -76,7 +76,7 @@ def init( default (ReactiveType | Callable[[], ReactiveType]): A default value or callable that returns a default. layout (bool, optional): Perform a layout on change. Defaults to False. repaint (bool, optional): Perform a repaint on change. Defaults to True. - always_update(bool, optional): Call watchers even when the new value equals the old value. Defaults to False. + always_update (bool, optional): Call watchers even when the new value equals the old value. Defaults to False. Returns: Reactive: A Reactive instance which calls watchers or initialize. @@ -292,7 +292,7 @@ class reactive(Reactive[ReactiveType]): layout (bool, optional): Perform a layout on change. Defaults to False. repaint (bool, optional): Perform a repaint on change. Defaults to True. init (bool, optional): Call watchers on initialize (post mount). Defaults to True. - always_update(bool, optional): Call watchers even when the new value equals the old value. Defaults to False. + always_update (bool, optional): Call watchers even when the new value equals the old value. Defaults to False. """ def __init__(