| 48 | static double |
| 49 | json_PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception); |
| 50 | static double |
| 51 | json_PyOS_string_to_double(const char *s, char **endptr, PyObject *overflow_exception) |
| 52 | { |
| 53 | double x; |
| 54 | assert(endptr == NULL); |
| 55 | assert(overflow_exception == NULL); |
| 56 | PyFPE_START_PROTECT("json_PyOS_string_to_double", return -1.0;) |
| 57 | x = PyOS_ascii_atof(s); |
| 58 | PyFPE_END_PROTECT(x) |
| 59 | return x; |
| 60 | } |
| 61 | #endif |
| 62 | #endif /* PY_VERSION_HEX < 0x02070000 */ |
| 63 |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…