commit | 43ef32ae364930c12ee1ccf522c4fe75e6ea3d7f | [log] [tgz] |
---|---|---|
author | Mark Dickinson <dickinsm@gmail.com> | Sun Nov 07 11:24:44 2010 +0000 |
committer | Mark Dickinson <dickinsm@gmail.com> | Sun Nov 07 11:24:44 2010 +0000 |
tree | 871897bf562e606d8c7b0248c52c213ed04c0db8 | |
parent | cdc8cdd215fc54365861577bb9c347730a7f6473 [diff] |
Issue 10297: Add missing import in decimal example snippet.
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst index e82929c..d0dedda 100644 --- a/Doc/library/decimal.rst +++ b/Doc/library/decimal.rst
@@ -51,6 +51,7 @@ alterable precision (defaulting to 28 places) which can be as large as needed for a given problem: + >>> from decimal import * >>> getcontext().prec = 6 >>> Decimal(1) / Decimal(7) Decimal('0.142857')