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

@ -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.

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()