From 902bccdcfd4b0a0801bb78e7ba82f5f04e66c771 Mon Sep 17 00:00:00 2001 From: Scott Anderson Date: Tue, 24 Feb 2026 15:18:22 +0000 Subject: [PATCH] fix: correct typos in docstrings across classes and functions --- python/python_calamine/_python_calamine.pyi | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/python/python_calamine/_python_calamine.pyi b/python/python_calamine/_python_calamine.pyi index c59c067..536c989 100644 --- a/python/python_calamine/_python_calamine.pyi +++ b/python/python_calamine/_python_calamine.pyi @@ -88,7 +88,7 @@ class CalamineSheet: | datetime.timedelta ] ]: - """Retunrning data from sheet as list of lists. + """Returning data from sheet as list of lists. Args: skip_empty_area (bool): @@ -110,7 +110,7 @@ class CalamineSheet: | datetime.timedelta ] ]: - """Retunrning data from sheet as iterator of lists.""" + """Returning data from sheet as iterator of lists.""" @property def merged_cell_ranges( @@ -121,7 +121,7 @@ class CalamineSheet: Support only for xlsx/xls. Returns: - list of merged cell ranges (tuple[start coordinate, end coordinate]) or None for unsuported format + list of merged cell ranges (tuple[start coordinate, end coordinate]) or None for unsupported format """ @typing.final @@ -172,7 +172,7 @@ class CalamineTable: | datetime.timedelta ] ]: - """Retunrning data from table as list of lists.""" + """Returning data from table as list of lists.""" @typing.final class CalamineWorkbook: @@ -191,7 +191,7 @@ class CalamineWorkbook: """Determining type of pyobject and reading from it. Args: - path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must imlpement read/seek methods). + path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must implement read/seek methods). load_tables (bool): load Excel tables (supported for XLSX only). """ @@ -213,7 +213,7 @@ class CalamineWorkbook: """Reading file from IO. Args: - filelike : IO (must imlpement read/seek methods). + filelike : IO (must implement read/seek methods). load_tables (bool): load Excel tables (supported for XLSX only). """ @@ -273,7 +273,7 @@ class CalamineWorkbook: Raises: WorkbookClosed: If workbook already closed. - WorksheetNotFound: If worksheet not found in workbook. + TableNotFound: If table not found in workbook. """ class CalamineError(Exception): ... @@ -292,7 +292,7 @@ def load_workbook( """Determining type of pyobject and reading from it. Args: - path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must imlpement read/seek methods). + path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must implement read/seek methods). load_tables (bool): load Excel tables (supported for XLSX only). """