(o, d)
| 71 | |
| 72 | |
| 73 | def Float2Str(o, d): |
| 74 | s = repr(o) |
| 75 | if s in ("inf", "-inf", "nan"): |
| 76 | raise ProgrammingError("%s can not be used with MySQL" % s) |
| 77 | if "e" not in s: |
| 78 | s += "e0" |
| 79 | return s |
| 80 | |
| 81 | |
| 82 | def None2NULL(o, d): |
nothing calls this directly
no test coverage detected
searching dependent graphs…