Skip to content

Commit 54c1a97

Browse files
committed
docs: Add version directives
1 parent c3b794f commit 54c1a97

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Diff for: table2ascii/options.py

+6-1
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

Diff for: table2ascii/table_to_ascii.py

+3
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)