Fix SF #1676971, Complex OverflowError has a typo
This commit is contained in:
parent
afd9b2b54d
commit
e7881559f2
|
@ -481,7 +481,7 @@ complex_pow(PyComplexObject *v, PyObject *w, PyComplexObject *z)
|
|||
}
|
||||
else if (errno == ERANGE) {
|
||||
PyErr_SetString(PyExc_OverflowError,
|
||||
"complex exponentiaion");
|
||||
"complex exponentiation");
|
||||
return NULL;
|
||||
}
|
||||
return PyComplex_FromCComplex(p);
|
||||
|
|
Loading…
Reference in New Issue