Skip to content

Commit

Permalink
Update docstring in app.py
Browse files Browse the repository at this point in the history
  • Loading branch information
darrenburns committed Jul 29, 2024
1 parent b16c482 commit 0358500
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/textual/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -3681,6 +3681,10 @@ def action_suspend_process(self) -> None:
# (see the event handler on App._resume_signal) above.

def open_url(self, url: str) -> None:
"""Open a URL in the default web browser."""
"""Open a URL in the default web browser.
Args:
url: The URL to open.
"""
if self._driver is not None:
self._driver.open_url(url)

0 comments on commit 0358500

Please sign in to comment.