gavo.formal.converters module¶
Adapters for converting to and from a type’s value according to an IConvertible protocol.
- class gavo.formal.converters.DecimalToStringConverter(original)[source]¶
Bases:
NumberToStringConverter
- cast¶
alias of
Decimal
- class gavo.formal.converters.FloatToStringConverter(original)[source]¶
Bases:
NumberToStringConverter
- cast¶
alias of
float
- class gavo.formal.converters.IntegerToStringConverter(original)[source]¶
Bases:
NumberToStringConverter
- cast¶
alias of
int
- class gavo.formal.converters.NumberToStringConverter(original)[source]¶
Bases:
_Adapter
- cast = None¶