diff options
author | Stefan Krah <skrah@bytereef.org> | 2012-03-23 13:46:48 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2012-03-23 13:46:48 (GMT) |
commit | b6405efd1bf8031fc3f15fbeba4f0e048844a50d (patch) | |
tree | b78f15d0ea428616cd0158317b56fac671f5921d /Doc/library/decimal.rst | |
parent | 4b0215fd997cbdc714cb7515e121be96b9087cf4 (diff) | |
download | cpython-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/decimal.rst')
-rw-r--r-- | Doc/library/decimal.rst | 2 |
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) .. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |