From 05df10fd1474e929793183c3b0ffa28251df79eb Mon Sep 17 00:00:00 2001 From: Jonah Lawrence Date: Mon, 31 Oct 2022 09:29:23 -0600 Subject: Add support for compact decimal formats (#909) --- docs/api/numbers.rst | 2 ++ docs/numbers.rst | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/api/numbers.rst b/docs/api/numbers.rst index f9b0833..eac5692 100644 --- a/docs/api/numbers.rst +++ b/docs/api/numbers.rst @@ -13,6 +13,8 @@ Number Formatting .. autofunction:: format_decimal +.. autofunction:: format_compact_decimal + .. autofunction:: format_currency .. autofunction:: format_percent diff --git a/docs/numbers.rst b/docs/numbers.rst index ed3b60f..cbe05cd 100644 --- a/docs/numbers.rst +++ b/docs/numbers.rst @@ -12,7 +12,7 @@ the ``babel.numbers`` module: .. code-block:: pycon - >>> from babel.numbers import format_number, format_decimal, format_percent + >>> from babel.numbers import format_number, format_decimal, format_compact_decimal, format_percent Examples: -- cgit v1.2.1