Skip to content

Commit 07b738a

Browse files
authored
Merge pull request #3610 from kotfu/master
Update docstring to reflect that box is not optional
2 parents e667349 + d8f08fd commit 07b738a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rich/panel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class Panel(JupyterMixin):
2222
2323
Args:
2424
renderable (RenderableType): A console renderable object.
25-
box (Box, optional): A Box instance that defines the look of the border (see :ref:`appendix_box`. Defaults to box.ROUNDED.
25+
box (Box): A Box instance that defines the look of the border (see :ref:`appendix_box`. Defaults to box.ROUNDED.
2626
title (Optional[TextType], optional): Optional title displayed in panel header. Defaults to None.
2727
title_align (AlignMethod, optional): Alignment of title. Defaults to "center".
2828
subtitle (Optional[TextType], optional): Optional subtitle displayed in panel footer. Defaults to None.

0 commit comments

Comments
 (0)