summaryrefslogtreecommitdiff
path: root/Lib/decimal.py
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2010-06-12 16:37:53 +0000
committerMark Dickinson <dickinsm@gmail.com>2010-06-12 16:37:53 +0000
commitaf67dfd470f741af3dbc32abc646065d7a61ad93 (patch)
tree55f4f2216e418003b97c91d9122f39a4ab87cabe /Lib/decimal.py
parente2c7b44c28f94eb5b5f710ff4dcf9c5607d8c37c (diff)
downloadcpython-af67dfd470f741af3dbc32abc646065d7a61ad93.tar.gz
Fix mild type confusion in decimal module docstring.
Diffstat (limited to 'Lib/decimal.py')
-rw-r--r--Lib/decimal.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/decimal.py b/Lib/decimal.py
index 4d9dd86530..828027cd61 100644
--- a/Lib/decimal.py
+++ b/Lib/decimal.py
@@ -31,7 +31,8 @@ issues associated with binary floating point. The package is especially
useful for financial applications or for contexts where users have
expectations that are at odds with binary floating point (for instance,
in binary floating point, 1.00 % 0.1 gives 0.09999999999999995 instead
-of the expected Decimal('0.00') returned by decimal floating point).
+of 0.0; Decimal('1.00') % Decimal('0.1') returns the expected
+Decimal('0.00')).
Here are some examples of using the decimal module: