mirror of https://github.com/Textualize/rich.git
docs
This commit is contained in:
parent
ba04c73a55
commit
cac26dfd40
|
@ -210,8 +210,8 @@ Here's what it looks like on OSX (similar on Linux):
|
|||
|
||||
![traceback](./imgs/traceback.png)
|
||||
|
||||
Here's what it looks like on Linux.
|
||||
Here's what it looks like on Windows:
|
||||
|
||||
![traceback_windows](./imgs/traceback_windows.png)
|
||||
|
||||
See the [rich traceback](https://rich.readthedocs.io/en/latest/traceback) documentation for the details.
|
||||
See the [rich traceback](https://rich.readthedocs.io/en/latest/traceback.htmls) documentation for the details.
|
||||
|
|
|
@ -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…
Reference in New Issue