Skip to content

Commit a3818e1

Browse files
authored
Merge pull request #190 from Scott5S/fix/docstring-typos
fix: correct typos in docstrings across classes and functions
2 parents 13a0aff + 902bccd commit a3818e1

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

python/python_calamine/_python_calamine.pyi

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class CalamineSheet:
8888
| datetime.timedelta
8989
]
9090
]:
91-
"""Retunrning data from sheet as list of lists.
91+
"""Returning data from sheet as list of lists.
9292
9393
Args:
9494
skip_empty_area (bool):
@@ -110,7 +110,7 @@ class CalamineSheet:
110110
| datetime.timedelta
111111
]
112112
]:
113-
"""Retunrning data from sheet as iterator of lists."""
113+
"""Returning data from sheet as iterator of lists."""
114114

115115
@property
116116
def merged_cell_ranges(
@@ -121,7 +121,7 @@ class CalamineSheet:
121121
Support only for xlsx/xls.
122122
123123
Returns:
124-
list of merged cell ranges (tuple[start coordinate, end coordinate]) or None for unsuported format
124+
list of merged cell ranges (tuple[start coordinate, end coordinate]) or None for unsupported format
125125
"""
126126

127127
@typing.final
@@ -172,7 +172,7 @@ class CalamineTable:
172172
| datetime.timedelta
173173
]
174174
]:
175-
"""Retunrning data from table as list of lists."""
175+
"""Returning data from table as list of lists."""
176176

177177
@typing.final
178178
class CalamineWorkbook:
@@ -191,7 +191,7 @@ class CalamineWorkbook:
191191
"""Determining type of pyobject and reading from it.
192192
193193
Args:
194-
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must imlpement read/seek methods).
194+
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must implement read/seek methods).
195195
load_tables (bool): load Excel tables (supported for XLSX only).
196196
"""
197197

@@ -213,7 +213,7 @@ class CalamineWorkbook:
213213
"""Reading file from IO.
214214
215215
Args:
216-
filelike : IO (must imlpement read/seek methods).
216+
filelike : IO (must implement read/seek methods).
217217
load_tables (bool): load Excel tables (supported for XLSX only).
218218
"""
219219

@@ -273,7 +273,7 @@ class CalamineWorkbook:
273273
274274
Raises:
275275
WorkbookClosed: If workbook already closed.
276-
WorksheetNotFound: If worksheet not found in workbook.
276+
TableNotFound: If table not found in workbook.
277277
"""
278278

279279
class CalamineError(Exception): ...
@@ -292,7 +292,7 @@ def load_workbook(
292292
"""Determining type of pyobject and reading from it.
293293
294294
Args:
295-
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must imlpement read/seek methods).
295+
path_or_filelike (str | os.PathLike | ReadBuffer): path to file or IO (must implement read/seek methods).
296296
load_tables (bool): load Excel tables (supported for XLSX only).
297297
"""
298298

0 commit comments

Comments
 (0)