Module decimal :: Class Inexact
[hide private]
[frames] | no frames]

type Inexact

              object --+                    
exceptions.BaseException --+                
        exceptions.Exception --+            
        exceptions.StandardError --+        
          exceptions.ArithmeticError --+    
                        DecimalException --+
Known Subclasses:

Had to round, losing information.

This occurs and signals inexact whenever the result of an operation is not exact (that is, it needed to be rounded and any discarded digits were non-zero), or if an overflow or underflow condition occurs. The result in all cases is unchanged.

The inexact signal may be tested (or trapped) to determine if a given operation (or sequence of operations) was inexact.

Instance Methods [hide private]

Inherited from DecimalException: handle

Inherited from exceptions.ArithmeticError: __init__, __new__

Inherited from exceptions.BaseException: __delattr__, __getattribute__, __getitem__, __getslice__, __reduce__, __repr__, __setattr__, __setstate__, __str__

Properties [hide private]

Inherited from exceptions.BaseException: args, message