summaryrefslogtreecommitdiff
path: root/Python/pystrtod.c
diff options
context:
space:
mode:
Diffstat (limited to 'Python/pystrtod.c')
-rw-r--r--Python/pystrtod.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/Python/pystrtod.c b/Python/pystrtod.c
index 4aa99d546c..94dc4818c2 100644
--- a/Python/pystrtod.c
+++ b/Python/pystrtod.c
@@ -342,9 +342,7 @@ PyOS_string_to_double(const char *s,
char *fail_pos;
errno = 0;
- PyFPE_START_PROTECT("PyOS_string_to_double", return -1.0)
x = _PyOS_ascii_strtod(s, &fail_pos);
- PyFPE_END_PROTECT(x)
if (errno == ENOMEM) {
PyErr_NoMemory();