summaryrefslogtreecommitdiffstats
path: root/Doc/library/decimal.rst
diff options
context:
space:
mode:
authorAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-12 16:37:14 (GMT)
committerAlexander Belopolsky <alexander.belopolsky@gmail.com>2011-01-12 16:37:14 (GMT)
commit287d1fdd3fc3d2c9dfa88be69e2ee0a8ae7e5928 (patch)
tree23ee8ba957dfae7c39f92b983ea72a04a564c87e /Doc/library/decimal.rst
parent477ba919c158ba6e7a4b85d15f2e2b8820272cd9 (diff)
downloadcpython-287d1fdd3fc3d2c9dfa88be69e2ee0a8ae7e5928.zip
cpython-287d1fdd3fc3d2c9dfa88be69e2ee0a8ae7e5928.tar.gz
cpython-287d1fdd3fc3d2c9dfa88be69e2ee0a8ae7e5928.tar.bz2
Issue #10225: Fixed the simple mistakes in doctests.
Diffstat (limited to 'Doc/library/decimal.rst')
-rw-r--r--Doc/library/decimal.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index bf153ba..9d5b32f 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -144,7 +144,7 @@ value of that integer or float. Decimal numbers include special values such as
>>> Decimal((0, (3, 1, 4), -2))
Decimal('3.14')
>>> Decimal(str(2.0 ** 0.5))
- Decimal('1.41421356237')
+ Decimal('1.4142135623730951')
>>> Decimal(2) ** Decimal('0.5')
Decimal('1.414213562373095048801688724')
>>> Decimal('NaN')