Skip to content

Commit

Permalink
Updated docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
kmvanbrunt committed Nov 19, 2021
1 parent 3243e9b commit 087c206
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd2/table_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,8 @@ def _generate_cell_lines(self, cell_data: Any, is_header: bool, col: Column, fil
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)
Expand Down Expand Up @@ -429,7 +430,7 @@ def generate_row(
: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
Expand Down

0 comments on commit 087c206

Please sign in to comment.