diff options
Diffstat (limited to 'Objects/complexobject.c')
-rw-r--r-- | Objects/complexobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/complexobject.c b/Objects/complexobject.c index 7ebafa7..d1e9e92 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -962,7 +962,7 @@ complex_subtype_from_string(PyTypeObject *type, PyObject *v) y = PyOS_ascii_strtod(s, &end); if (end == s && errno == ENOMEM) return PyErr_NoMemory(); - if (errno == ERANGE && fabs(z) >= 1.0) + if (errno == ERANGE && fabs(y) >= 1.0) goto overflow; if (end != s) /* <float><signed-float>j */ |