Skip to content

Commit 62502b9

Browse files
committed
docs: Add version directives
1 parent 1d7be40 commit 62502b9

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

table2ascii/options.py

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,12 @@
88

99
@dataclass
1010
class Options:
11-
"""Class for storing options that the user sets"""
11+
"""Class for storing options that the user sets
12+
13+
.. versionchanged:: 1.0.0
14+
15+
Added ``use_wcwidth`` option
16+
"""
1217

1318
first_col_heading: bool
1419
last_col_heading: bool

table2ascii/table_to_ascii.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -400,6 +400,9 @@ def table2ascii(
400400
) -> str:
401401
"""Convert a 2D Python table to ASCII text
402402
403+
.. versionchanged:: 1.0.0
404+
Added the ``use_wcwidth`` parameter defaulting to :py:obj:`True`.
405+
403406
Args:
404407
header: List of column values in the table's header row. All values should be :class:`str`
405408
or support :class:`str` conversion. If not specified, the table will not have a header row.

0 commit comments

Comments
 (0)