Back to index

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

List of all members.

Public Member Functions

def handle

Detailed Description

Cannot perform the division adequately.

This occurs and signals invalid-operation if the integer result of a
divide-integer or remainder operation had too many digits (would be
longer than precision).  The result is [0,qNaN].

Definition at line 249 of file

Member Function Documentation

def decimal.DivisionImpossible.handle (   self,

Reimplemented from decimal.InvalidOperation.

Definition at line 257 of file

00258     def handle(self, context, *args):
00259         return _NaN

Here is the caller graph for this function:

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