Back to index

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

List of all members.

Public Member Functions

def handle

Detailed Description

Trying to convert badly formed string.

This occurs and signals invalid-operation if an string is being
converted to a number and it does not conform to the numeric string
syntax.  The result is [0,qNaN].

Definition at line 223 of file decimal.py.


Member Function Documentation

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

Reimplemented from decimal.InvalidOperation.

Definition at line 230 of file decimal.py.

00230 
00231     def handle(self, context, *args):
00232         return _NaN

Here is the caller graph for this function:


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