Back to index

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

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 decimal.py.


Member Function Documentation

def decimal.DivisionImpossible.handle (   self,
  context,
  args 
)

Reimplemented from decimal.InvalidOperation.

Definition at line 257 of file decimal.py.

00257 
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: