diff --git a/rich/box.py b/rich/box.py index 05600558..a4cf672d 100644 --- a/rich/box.py +++ b/rich/box.py @@ -81,7 +81,7 @@ class Box: def get_row( self, widths: Iterable[int], - level: Literal["head", "row", "foot"] = "row", + level: Literal["head", "row", "foot", "mid"] = "row", edge: bool = True, ) -> str: """Get the top of a simple box. diff --git a/rich/table.py b/rich/table.py index 69d655c8..afe3b6de 100644 --- a/rich/table.py +++ b/rich/table.py @@ -109,7 +109,7 @@ class Table(JupyterMixin): show_footer (bool, optional): Show a footer row. Defaults to False. show_edge (bool, optional): Draw a box around the outside of the table. Defaults to True. show_lines (bool, optional): Draw lines between every row. Defaults to False. - leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to False. + leading (bool, optional): Number of blank lines between rows (precludes ``show_lines``). Defaults to 0. style (Union[str, Style], optional): Default style for the table. Defaults to "none". row_styles (List[Union, str], optional): Optional list of row styles, if more that one style is give then the styles will alternate. Defaults to None. header_style (Union[str, Style], optional): Style of the header. Defaults to None.