mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Fix SF #1676971, Complex OverflowError has a typo
This commit is contained in:
parent
fb728de5f4
commit
0593de32d9
1 changed files with 1 additions and 1 deletions
|
@ -481,7 +481,7 @@ complex_pow(PyComplexObject *v, PyObject *w, PyComplexObject *z)
|
||||||
}
|
}
|
||||||
else if (errno == ERANGE) {
|
else if (errno == ERANGE) {
|
||||||
PyErr_SetString(PyExc_OverflowError,
|
PyErr_SetString(PyExc_OverflowError,
|
||||||
"complex exponentiaion");
|
"complex exponentiation");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
return PyComplex_FromCComplex(p);
|
return PyComplex_FromCComplex(p);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue