diff options
author | Neal Norwitz <nnorwitz@gmail.com> | 2007-03-09 05:59:01 (GMT) |
---|---|---|
committer | Neal Norwitz <nnorwitz@gmail.com> | 2007-03-09 05:59:01 (GMT) |
commit | 0593de32d92ef69353791fc0ae1b31980e9ea2bc (patch) | |
tree | 414e3378809c7ef218663370367969fc7f74a971 /Objects/complexobject.c | |
parent | fb728de5f45d56195d6388e2b02612126ca35da0 (diff) | |
download | cpython-0593de32d92ef69353791fc0ae1b31980e9ea2bc.zip cpython-0593de32d92ef69353791fc0ae1b31980e9ea2bc.tar.gz cpython-0593de32d92ef69353791fc0ae1b31980e9ea2bc.tar.bz2 |
Fix SF #1676971, Complex OverflowError has a typo
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 0d37fb2..4de1fb6 100644 --- a/Objects/complexobject.c +++ b/Objects/complexobject.c @@ -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); |