We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c3b794f commit 54c1a97Copy full SHA for 54c1a97
table2ascii/options.py
@@ -8,7 +8,12 @@
8
9
@dataclass
10
class Options:
11
- """Class for storing options that the user sets"""
+ """Class for storing options that the user sets
12
+
13
+ .. versionchanged:: 1.0.0
14
15
+ Added ``use_wcwidth`` option
16
+ """
17
18
first_col_heading: bool
19
last_col_heading: bool
table2ascii/table_to_ascii.py
@@ -400,6 +400,9 @@ def table2ascii(
400
) -> str:
401
"""Convert a 2D Python table to ASCII text
402
403
404
+ Added the ``use_wcwidth`` parameter defaulting to :py:obj:`True`.
405
406
Args:
407
header: List of column values in the table's header row. All values should be :class:`str`
408
or support :class:`str` conversion. If not specified, the table will not have a header row.
0 commit comments