summaryrefslogtreecommitdiffstats
path: root/Objects/complexobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-03-09 05:59:01 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-03-09 05:59:01 (GMT)
commit0593de32d92ef69353791fc0ae1b31980e9ea2bc (patch)
tree414e3378809c7ef218663370367969fc7f74a971 /Objects/complexobject.c
parentfb728de5f45d56195d6388e2b02612126ca35da0 (diff)
downloadcpython-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.c2
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);