From bb804074f7a1d625c2776cb91a829df187795059 Mon Sep 17 00:00:00 2001 From: zhjwpku Date: Mon, 27 Nov 2023 15:28:46 +0800 Subject: [PATCH] [doc]: fix typos (#2961) --- patroni/ctl.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patroni/ctl.py b/patroni/ctl.py index 13959896..9345d18e 100644 --- a/patroni/ctl.py +++ b/patroni/ctl.py @@ -432,9 +432,9 @@ def print_output(columns: Optional[List[str]], rows: List[List[Any]], alignment: def watching(w: bool, watch: Optional[int], max_count: Optional[int] = None, clear: bool = True) -> Iterator[int]: - """Yield a value every ``x`` seconds. + """Yield a value every ``watch`` seconds. - Used to run a command with a watch-based aproach. + Used to run a command with a watch-based approach. :param w: if ``True`` and *watch* is ``None``, then *watch* assumes the value ``2``. :param watch: amount of seconds to wait before yielding another value.