From 4fff520e1136995423ef7f1cc7d03bd176fa67bd Mon Sep 17 00:00:00 2001 From: Guy Avital Date: Fri, 29 Sep 2023 01:23:09 +0300 Subject: [PATCH] widget: Fix `end_capture()` docstring link to `begin_capture_print()` --- src/textual/widget.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/textual/widget.py b/src/textual/widget.py index b229c707358..5267e2eb87a 100644 --- a/src/textual/widget.py +++ b/src/textual/widget.py @@ -3202,7 +3202,7 @@ def begin_capture_print(self, stdout: bool = True, stderr: bool = True) -> None: self.app.begin_capture_print(self, stdout=stdout, stderr=stderr) def end_capture_print(self) -> None: - """End print capture (set with [capture_print][textual.widget.Widget.capture_print]).""" + """End print capture (set with [capture_print][textual.widget.Widget.begin_capture_print]).""" self.app.end_capture_print(self) def check_message_enabled(self, message: Message) -> bool: