summaryrefslogtreecommitdiffstats
path: root/Doc/library/locale.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/locale.rst')
-rw-r--r--Doc/library/locale.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/locale.rst b/Doc/library/locale.rst
index 0a8cbd4..0246f99 100644
--- a/Doc/library/locale.rst
+++ b/Doc/library/locale.rst
@@ -424,7 +424,7 @@ The :mod:`locale` module defines the following exception and functions:
.. function:: format_string(format, val, grouping=False, monetary=False)
Formats a number *val* according to the current :const:`LC_NUMERIC` setting.
- The format follows the conventions of the ``%`` operator. For floating point
+ The format follows the conventions of the ``%`` operator. For floating-point
values, the decimal point is modified if appropriate. If *grouping* is ``True``,
also takes the grouping into account.
@@ -455,7 +455,7 @@ The :mod:`locale` module defines the following exception and functions:
.. function:: str(float)
- Formats a floating point number using the same format as the built-in function
+ Formats a floating-point number using the same format as the built-in function
``str(float)``, but takes the decimal point into account.