 """<STR_LIT>""" <EOL> import decimal <EOL> import pyamf <EOL> def convert_Decimal ( x , encoder ) : <EOL> """<STR_LIT>""" <EOL> if encoder . strict is False : <EOL> return float ( x ) <EOL> raise pyamf . EncodeError ( '<STR_LIT>' 
 '<STR_LIT>' 
 """<STR_LIT>""" <EOL> import decimal <EOL> import pyamf <EOL> def convert_Decimal ( x , encoder ) : <EOL> """<STR_LIT>""" <EOL> if encoder . strict is False : <EOL> return float ( x ) <EOL> raise pyamf . EncodeError ( '<STR_LIT>' <EOL> '<STR_LIT>' <EOL> '<STR_LIT>' ) <EOL> if hasattr ( decimal , '<STR_LIT>' ) : <EOL> pyamf . add_type ( decimal . Decimal , convert_Decimal ) </s>
