Fix small typo in Rich Repr documentation

This commit is contained in:
Darren Burns 2021-06-10 13:04:06 +01:00
parent 36758803c8
commit 4c9f42cb5c
No known key found for this signature in database
GPG key ID: 0A59DBB54727281E

View file

@ -153,7 +153,7 @@ Each tuple specifies an element in the output.
- ``yield name, value`` will generate a keyword argument.
- ``yield name, value, default`` will generate a keyword argument *if* ``value`` is not equal to ``default``.
You can also tell Rich to generate the *angular bracket* style of repr, which tend to be used where there is no easy way to recreate the object's constructor. To do this set the function attribute ``"angluar"`` to ``True`` immediately after your ``__rich_repr__`` method. For example::
You can also tell Rich to generate the *angular bracket* style of repr, which tend to be used where there is no easy way to recreate the object's constructor. To do this set the function attribute ``"angular"`` to ``True`` immediately after your ``__rich_repr__`` method. For example::
__rich_repr__.angular = True