(o, d)
| 145 | |
| 146 | |
| 147 | def Decimal2Literal(o, d): |
| 148 | if not o.is_finite(): |
| 149 | raise ProgrammingError("%s can not be used with MySQL" % str(o).lower()) |
| 150 | return format(o, "f") |
| 151 | |
| 152 | |
| 153 | def _convert_second_fraction(s): |
nothing calls this directly
no test coverage detected