Fix SF #1676971, Complex OverflowError has a typo

This commit is contained in:
Neal Norwitz 2007-03-09 05:59:01 +00:00
parent fb728de5f4
commit 0593de32d9
1 changed files with 1 additions and 1 deletions

View File

@ -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);