]> granicus.if.org Git - python/commit
Use the same exception hierarchy as decimal.py. FloatOperation now also
authorStefan Krah <skrah@bytereef.org>
Fri, 23 Mar 2012 13:46:48 +0000 (14:46 +0100)
committerStefan Krah <skrah@bytereef.org>
Fri, 23 Mar 2012 13:46:48 +0000 (14:46 +0100)
commitb6405efd1bf8031fc3f15fbeba4f0e048844a50d
treeb78f15d0ea428616cd0158317b56fac671f5921d
parent4b0215fd997cbdc714cb7515e121be96b9087cf4
Use the same exception hierarchy as decimal.py. FloatOperation now also
inherits from TypeError. Cleanup in module initialization to make repeated
import failures robust.
Doc/library/decimal.rst
Lib/decimal.py
Lib/test/test_decimal.py
Modules/_decimal/_decimal.c