summaryrefslogtreecommitdiffstats
path: root/Doc/library/decimal.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-01-11 09:55:53 (GMT)
committerGeorg Brandl <georg@python.org>2008-01-11 09:55:53 (GMT)
commite3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7 (patch)
treecd848e76f0b7bb28db9263c5fdd9340e61046a5e /Doc/library/decimal.rst
parent2f32c39227e70215c9d9e8e4e50cb1227fc083d1 (diff)
downloadcpython-e3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7.zip
cpython-e3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7.tar.gz
cpython-e3c3db59b522d18ed60b1e7b0be7d8e9eeec41a7.tar.bz2
Documentation for r5990[3567].
Diffstat (limited to 'Doc/library/decimal.rst')
-rw-r--r--Doc/library/decimal.rst6
1 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/decimal.rst b/Doc/library/decimal.rst
index d8942f8..eda09e4 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -333,7 +333,11 @@ also have a number of specialized methods:
.. method:: Decimal.as_tuple()
- Return a tuple representation of the number: ``(sign, digit_tuple, exponent)``.
+ Return a :term:`named tuple` representation of the number:
+ ``DecimalTuple(sign, digits, exponent)``.
+
+ .. versionchanged:: 2.6
+ Use a named tuple.
.. method:: Decimal.canonical()