'a' -> 'an' for SVG in docstrings

An ess vee gee.
This commit is contained in:
Dave Pearson
2022-10-15 10:14:33 +01:00
parent 95a1b83160
commit 614f30b301

View File

@@ -483,7 +483,7 @@ class App(Generic[ReturnType], DOMNode):
self.dark = not self.dark self.dark = not self.dark
def action_screenshot(self, filename: str | None, path: str = "~/") -> None: 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: Args:
filename (str | None, optional): Filename of screenshot, or None to auto-generate. Defaults to None. 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) self.save_screenshot(filename, path)
def export_screenshot(self, *, title: str | None = None) -> str: 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: Args:
title (str | None, optional): The title of the exported screenshot or None title (str | None, optional): The title of the exported screenshot or None
@@ -519,7 +519,7 @@ class App(Generic[ReturnType], DOMNode):
path: str = "./", path: str = "./",
time_format: str = "%Y-%m-%d %X %f", time_format: str = "%Y-%m-%d %X %f",
) -> str: ) -> str:
"""Save a SVG screenshot of the current screen. """Save an SVG screenshot of the current screen.
Args: Args:
filename (str | None, optional): Filename of SVG screenshot, or None to auto-generate filename (str | None, optional): Filename of SVG screenshot, or None to auto-generate