Skip to content

Commit

Permalink
header
Browse files Browse the repository at this point in the history
  • Loading branch information
willmcgugan committed Jun 10, 2021
1 parent 7111aa9 commit 0955ed7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docs/source/pretty.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit 0955ed7

Please sign in to comment.