diff --git a/src/textual/widget.py b/src/textual/widget.py index b229c70735..5267e2eb87 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: