mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +00:00
fix indentation
This commit is contained in:
parent
69437da15f
commit
2354a7593f
1 changed files with 7 additions and 7 deletions
|
|
@ -694,13 +694,13 @@ math_1_to_whatever(PyObject *arg, double (*func) (double),
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (Py_IS_INFINITY(r) && Py_IS_FINITE(x)) {
|
if (Py_IS_INFINITY(r) && Py_IS_FINITE(x)) {
|
||||||
if (can_overflow)
|
if (can_overflow)
|
||||||
PyErr_SetString(PyExc_OverflowError,
|
PyErr_SetString(PyExc_OverflowError,
|
||||||
"math range error"); /* overflow */
|
"math range error"); /* overflow */
|
||||||
else
|
else
|
||||||
PyErr_SetString(PyExc_ValueError,
|
PyErr_SetString(PyExc_ValueError,
|
||||||
"math domain error"); /* singularity */
|
"math domain error"); /* singularity */
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
if (Py_IS_FINITE(r) && errno && is_error(r))
|
if (Py_IS_FINITE(r) && errno && is_error(r))
|
||||||
/* this branch unnecessary on most platforms */
|
/* this branch unnecessary on most platforms */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue