Skip to content

Commit 1f49977

Browse files
Fix typos found by codespell
1 parent f99343a commit 1f49977

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tabulate/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2647,7 +2647,7 @@ def _update_lines(self, lines, new_line):
26472647
else: # A single reset code resets everything
26482648
self._active_codes = []
26492649

2650-
# Always ensure each line is color terminted if any colors are
2650+
# Always ensure each line is color terminated if any colors are
26512651
# still active, otherwise colors will bleed into other cells on the console
26522652
if len(self._active_codes) > 0:
26532653
new_line = new_line + _ansi_color_reset_code

test/test_input.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212

1313
def test_iterable_of_iterables():
14-
"Input: an interable of iterables."
14+
"Input: an iterable of iterables."
1515
ii = iter(map(lambda x: iter(x), [range(5), range(5, 0, -1)]))
1616
expected = "\n".join(
1717
["- - - - -", "0 1 2 3 4", "5 4 3 2 1", "- - - - -"]
@@ -21,7 +21,7 @@ def test_iterable_of_iterables():
2121

2222

2323
def test_iterable_of_iterables_headers():
24-
"Input: an interable of iterables with headers."
24+
"Input: an iterable of iterables with headers."
2525
ii = iter(map(lambda x: iter(x), [range(5), range(5, 0, -1)]))
2626
expected = "\n".join(
2727
[
@@ -36,7 +36,7 @@ def test_iterable_of_iterables_headers():
3636

3737

3838
def test_iterable_of_iterables_firstrow():
39-
"Input: an interable of iterables with the first row as headers"
39+
"Input: an iterable of iterables with the first row as headers"
4040
ii = iter(map(lambda x: iter(x), ["abcde", range(5), range(5, 0, -1)]))
4141
expected = "\n".join(
4242
[

0 commit comments

Comments
 (0)