This commit is contained in:
Will McGugan 2021-06-10 12:30:49 +01:00
parent 7111aa9d6e
commit 0955ed7a6f

View file

@ -168,6 +168,7 @@ This will change the output of the Rich repr example to the following::
Note that you can add ``__rich_repr__`` methods to third-party libraries *without* including Rich as a dependency. If Rich is not installed, then nothing will break. Hopefully more third-party libraries will adopt Rich repr methods in the future.
## Example
Example
-------
See `repr.py <https://github.com/willmcgugan/rich/blob/master/examples/repr.py>`_ for the example code used in this page.