Back to index

python3.2  3.2.2
Public Member Functions
decimal.Inexact Class Reference
Inheritance diagram for decimal.Inexact:
Inheritance graph
Collaboration diagram for decimal.Inexact:
Collaboration graph

List of all members.

Public Member Functions

def handle

Detailed Description

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.

Definition at line 271 of file

Member Function Documentation

def decimal.DecimalException.handle (   self,
) [inherited]

Reimplemented in decimal.InvalidContext, decimal.DivisionUndefined, decimal.DivisionImpossible, decimal.ConversionSyntax, and decimal.InvalidOperation.

Definition at line 178 of file

00179     def handle(self, context, *args):
00180         pass

Here is the caller graph for this function:

The documentation for this class was generated from the following file: