mirror of
https://github.com/Textualize/textual.git
synced 2025-10-17 02:38:12 +03:00
'a' -> 'an' for SVG in docstrings
An ess vee gee.
This commit is contained in:
@@ -483,7 +483,7 @@ class App(Generic[ReturnType], DOMNode):
|
||||
self.dark = not self.dark
|
||||
|
||||
def action_screenshot(self, filename: str | None, path: str = "~/") -> None:
|
||||
"""Save an SVG "screenshot". This action will save a SVG file containing the current contents of the screen.
|
||||
"""Save an SVG "screenshot". This action will save an SVG file containing the current contents of the screen.
|
||||
|
||||
Args:
|
||||
filename (str | None, optional): Filename of screenshot, or None to auto-generate. Defaults to None.
|
||||
@@ -492,7 +492,7 @@ class App(Generic[ReturnType], DOMNode):
|
||||
self.save_screenshot(filename, path)
|
||||
|
||||
def export_screenshot(self, *, title: str | None = None) -> str:
|
||||
"""Export a SVG screenshot of the current screen.
|
||||
"""Export an SVG screenshot of the current screen.
|
||||
|
||||
Args:
|
||||
title (str | None, optional): The title of the exported screenshot or None
|
||||
@@ -519,7 +519,7 @@ class App(Generic[ReturnType], DOMNode):
|
||||
path: str = "./",
|
||||
time_format: str = "%Y-%m-%d %X %f",
|
||||
) -> str:
|
||||
"""Save a SVG screenshot of the current screen.
|
||||
"""Save an SVG screenshot of the current screen.
|
||||
|
||||
Args:
|
||||
filename (str | None, optional): Filename of SVG screenshot, or None to auto-generate
|
||||
|
||||
Reference in New Issue
Block a user