From 550d391171934874ec85ef7bcad2292d8728c1ce Mon Sep 17 00:00:00 2001 From: Will McGugan Date: Fri, 24 Sep 2021 10:02:56 +0100 Subject: [PATCH] docs --- docs/source/traceback.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/source/traceback.rst b/docs/source/traceback.rst index 84c3375c..00cb6913 100644 --- a/docs/source/traceback.rst +++ b/docs/source/traceback.rst @@ -40,7 +40,7 @@ There are a few options to configure the traceback handler, see :func:`~rich.tra Suppressing Frames ------------------ -If you are working with a framework (click, django etc), you may only be interested in displaying code in your own application. You can exclude frameworks by setting the `suppress` argument on `Traceback`, `install`, and `print_exception`, which may be a iterable of modules or str paths. +If you are working with a framework (click, django etc), you may only be interested in seeing the code from your own application within the traceback. You can exclude framework code by setting the `suppress` argument on `Traceback`, `install`, and `Console.print_exception`, which should be a list of modules or str paths. Here's how you would exclude [click](https://click.palletsprojects.com/en/8.0.x/) from Rich exceptions::