diff options
Diffstat (limited to 'docs/formatting.rst')
-rw-r--r-- | docs/formatting.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/formatting.rst b/docs/formatting.rst index 12ac9ce..1d1bc91 100644 --- a/docs/formatting.rst +++ b/docs/formatting.rst @@ -10,6 +10,8 @@ String formatting ================= +Unit Format Specifications +-------------------------- A :doc:`format specification <formatspec>` used to format :py:class:`Unit` objects in e.g. f-strings consists of a ``type`` and optionally a "modifier", where the order does not matter. For example, ``P~`` and ``~P`` have the same effect. If the ``type`` is |