summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorStefan Krah <skrah@bytereef.org>2012-03-23 13:46:48 (GMT)
committerStefan Krah <skrah@bytereef.org>2012-03-23 13:46:48 (GMT)
commitb6405efd1bf8031fc3f15fbeba4f0e048844a50d (patch)
treeb78f15d0ea428616cd0158317b56fac671f5921d /Doc/library
parent4b0215fd997cbdc714cb7515e121be96b9087cf4 (diff)
downloadcpython-b6405efd1bf8031fc3f15fbeba4f0e048844a50d.zip
cpython-b6405efd1bf8031fc3f15fbeba4f0e048844a50d.tar.gz
cpython-b6405efd1bf8031fc3f15fbeba4f0e048844a50d.tar.bz2
Use the same exception hierarchy as decimal.py. FloatOperation now also
inherits from TypeError. Cleanup in module initialization to make repeated import failures robust.
Diffstat (limited to 'Doc/library')
-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 1d987b8..3fa006b 100644
--- a/Doc/library/decimal.rst
+++ b/Doc/library/decimal.rst
@@ -1577,7 +1577,7 @@ The following table summarizes the hierarchy of signals::
InvalidOperation
Rounded
Subnormal
- FloatOperation
+ FloatOperation(DecimalException, exceptions.TypeError)
.. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%