This commit is contained in:
Will McGugan 2020-02-22 20:14:23 +00:00
parent ba04c73a55
commit cac26dfd40
2 changed files with 3 additions and 3 deletions

View file

@ -7,7 +7,7 @@ Rich can render Python tracebacks with syntax highlighting and formatting. Rich
Printing tracebacks
-------------------
The :meth:`~rich.console.Console.print_exception` method will print a traceback for the current exception being handled.
The :meth:`~rich.console.Console.print_exception` method will print a traceback for the current exception being handled. Here's an example::
try:
do_something()