Skip to content

Commit

Permalink
Fix grammar (thanks to @hugovk)
Browse files Browse the repository at this point in the history
  • Loading branch information
marisn committed Nov 2, 2021
1 parent 5531beb commit 268370b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/tablib/formats/_xlsx.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def export_set(cls, dataset, freeze_panes=True, invalid_char_subst="-"):
"""Returns XLSX representation of Dataset.
If dataset.title contains characters which are considered invalid for an XLSX file
sheet name (http://www.excelcodex.com/2012/06/worksheets-naming-conventions/), it will
sheet name (http://www.excelcodex.com/2012/06/worksheets-naming-conventions/), they will
be replaced with `invalid_char_subst`.
"""
wb = Workbook()
Expand All @@ -61,7 +61,7 @@ def export_book(cls, databook, freeze_panes=True, invalid_char_subst="-"):
"""Returns XLSX representation of DataBook.
If dataset.title contains characters which are considered invalid for an XLSX file
sheet name (http://www.excelcodex.com/2012/06/worksheets-naming-conventions/), it will
sheet name (http://www.excelcodex.com/2012/06/worksheets-naming-conventions/), they will
be replaced with `invalid_char_subst`.
"""

Expand Down
2 changes: 1 addition & 1 deletion tests/test_tablib.py
Original file line number Diff line number Diff line change
Expand Up @@ -1046,7 +1046,7 @@ def test_xlsx_import_set_skip_lines(self):

def test_xlsx_bad_chars_sheet_name(self):
"""
Sheet names are limited to 30 chars and following chars
Sheet names are limited to 30 chars and the following chars
are not permitted: \\ / * ? : [ ]
"""
_dataset = tablib.Dataset(
Expand Down

0 comments on commit 268370b

Please sign in to comment.