Skip to content

Commit 9e6f32a

Browse files
authored
console: Update docstring for print_exception
The default width is now 100, not 88.
1 parent edcb6f9 commit 9e6f32a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rich/console.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1810,7 +1810,7 @@ def print_exception(
18101810
"""Prints a rich render of the last exception and traceback.
18111811
18121812
Args:
1813-
width (Optional[int], optional): Number of characters used to render code. Defaults to 88.
1813+
width (Optional[int], optional): Number of characters used to render code. Defaults to 100.
18141814
extra_lines (int, optional): Additional lines of code to render. Defaults to 3.
18151815
theme (str, optional): Override pygments theme used in traceback
18161816
word_wrap (bool, optional): Enable word wrapping of long lines. Defaults to False.

0 commit comments

Comments
 (0)