mirror of
https://github.com/Textualize/rich.git
synced 2025-08-04 10:08:40 +00:00
docs
This commit is contained in:
parent
ba04c73a55
commit
cac26dfd40
2 changed files with 3 additions and 3 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue