summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeewis <keewis@posteo.de>2021-09-03 22:59:26 +0200
committerKeewis <keewis@posteo.de>2021-09-03 22:59:26 +0200
commit7a7d7291e552c023324b60eb1b3f780d4e589d05 (patch)
treef11f0f6feb75bffbeccece500f002aa4d2747f92
parent151a7e22efd8ff8e96c38cc685eb3c567c9c4892 (diff)
downloadpint-7a7d7291e552c023324b60eb1b3f780d4e589d05.tar.gz
another attempt
-rw-r--r--docs/formatting.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/formatting.rst b/docs/formatting.rst
index a0a414b..8728578 100644
--- a/docs/formatting.rst
+++ b/docs/formatting.rst
@@ -14,8 +14,10 @@ The conversion of :py:class:`Unit` and :py:class:`Quantity` objects to strings (
through the :py:class:`str` builtin or f-strings) can be customized using :ref:`format
specifications <formatspec>`. The basic format is::
+
[magnitude format][modifier][unit format]
+
where each part is optional and the order of these is arbitrary.
In case any part (except the modifier) is omitted, the corresponding value in