Skip to content

Commit

Permalink
widget: Fix end_capture() docstring link to begin_capture_print()
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-av committed Oct 4, 2023
1 parent c1d3fd0 commit 36bd736
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/textual/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 36bd736

Please sign in to comment.