Skip to content

Commit 087c206

Browse files
committed
Updated docstring
1 parent 3243e9b commit 087c206

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd2/table_creator.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,8 @@ def _generate_cell_lines(self, cell_data: Any, is_header: bool, col: Column, fil
386386
Generate the lines of a table cell
387387
388388
:param cell_data: data to be included in cell
389-
:param is_header: True if writing a header cell, otherwise writing a data cell
389+
:param is_header: True if writing a header cell, otherwise writing a data cell. This determines whether to
390+
use header or data alignment settings as well as maximum lines to wrap.
390391
:param col: Column definition for this cell
391392
:param fill_char: character that fills remaining space in a cell. If your text has a background color,
392393
then give fill_char the same background color. (Cannot be a line breaking character)
@@ -429,7 +430,7 @@ def generate_row(
429430
430431
:param row_data: data with an entry for each column in the row
431432
:param is_header: True if writing a header cell, otherwise writing a data cell. This determines whether to
432-
use header or data alignment settings defined in the Columns.
433+
use header or data alignment settings as well as maximum lines to wrap.
433434
:param fill_char: character that fills remaining space in a cell. Defaults to space. If this is a tab,
434435
then it will be converted to one space. (Cannot be a line breaking character)
435436
:param pre_line: string to print before each line of a row. This can be used for a left row border and

0 commit comments

Comments
 (0)