Skip to content

Commit d38740c

Browse files
committed
move libraries
1 parent a8672a5 commit d38740c

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tabulate/__init__.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
import math
1111
import textwrap
1212
import dataclasses
13+
import sys
1314

1415
try:
1516
import wcwidth # optional wide-character (CJK) support
@@ -1352,9 +1353,7 @@ def _normalize_tabular_data(tabular_data, headers, showindex="default"):
13521353

13531354
try:
13541355
bool(headers)
1355-
is_headers2bool_broken = False # noqa
13561356
except ValueError: # numpy.ndarray, pandas.core.index.Index, ...
1357-
is_headers2bool_broken = True # noqa
13581357
headers = list(headers)
13591358

13601359
index = None
@@ -2646,8 +2645,6 @@ def _main():
26462645
(default: simple)
26472646
"""
26482647
import getopt
2649-
import sys
2650-
import textwrap
26512648

26522649
usage = textwrap.dedent(_main.__doc__)
26532650
try:

0 commit comments

Comments
 (0)