diff options
author | Keewis <keewis@posteo.de> | 2021-09-03 22:59:26 +0200 |
---|---|---|
committer | Keewis <keewis@posteo.de> | 2021-09-03 22:59:26 +0200 |
commit | 7a7d7291e552c023324b60eb1b3f780d4e589d05 (patch) | |
tree | f11f0f6feb75bffbeccece500f002aa4d2747f92 | |
parent | 151a7e22efd8ff8e96c38cc685eb3c567c9c4892 (diff) | |
download | pint-7a7d7291e552c023324b60eb1b3f780d4e589d05.tar.gz |
another attempt
-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 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 |