diff options
| author | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-11-18 23:03:02 -0500 |
|---|---|---|
| committer | Kevin Van Brunt <kmvanbrunt@gmail.com> | 2021-11-18 23:03:02 -0500 |
| commit | 087c2066076e55c5f8200c0c6127bcd389aae67b (patch) | |
| tree | a5e872112998a157871f31465415e39e58c0fca4 /cmd2 | |
| parent | 3243e9b6098291362ec7e5dc57eb9e4629f20815 (diff) | |
| download | cmd2-git-087c2066076e55c5f8200c0c6127bcd389aae67b.tar.gz | |
Updated docstring2.3.1
Diffstat (limited to 'cmd2')
| -rw-r--r-- | cmd2/table_creator.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/cmd2/table_creator.py b/cmd2/table_creator.py index 1e9755c7..6db07517 100644 --- a/cmd2/table_creator.py +++ b/cmd2/table_creator.py @@ -386,7 +386,8 @@ class TableCreator: Generate the lines of a table cell :param cell_data: data to be included in cell - :param is_header: True if writing a header cell, otherwise writing a data cell + :param is_header: True if writing a header cell, otherwise writing a data cell. This determines whether to + use header or data alignment settings as well as maximum lines to wrap. :param col: Column definition for this cell :param fill_char: character that fills remaining space in a cell. If your text has a background color, then give fill_char the same background color. (Cannot be a line breaking character) @@ -429,7 +430,7 @@ class TableCreator: :param row_data: data with an entry for each column in the row :param is_header: True if writing a header cell, otherwise writing a data cell. This determines whether to - use header or data alignment settings defined in the Columns. + use header or data alignment settings as well as maximum lines to wrap. :param fill_char: character that fills remaining space in a cell. Defaults to space. If this is a tab, then it will be converted to one space. (Cannot be a line breaking character) :param pre_line: string to print before each line of a row. This can be used for a left row border and |
