diff options
author | Keewis <keewis@posteo.de> | 2021-08-22 12:06:33 +0200 |
---|---|---|
committer | Keewis <keewis@posteo.de> | 2021-08-23 23:36:39 +0200 |
commit | b273758106984ccf9bc502bafc1ad1a34024068d (patch) | |
tree | 5e94f2b398b796661b656b19308f600d13a9ed2f /docs | |
parent | 4b3bd493eda29d5e8dfae18e7c865c742af37ac8 (diff) | |
download | pint-b273758106984ccf9bc502bafc1ad1a34024068d.tar.gz |
move the unit format spec description into its own section
Diffstat (limited to 'docs')
-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 |