summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2007-03-09 06:01:28 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2007-03-09 06:01:28 (GMT)
commite7881559f23800d45c04fe7bc8e6a7031fb5e665 (patch)
tree047b4ceec7390d9cafa6d4717480bddf4305edcb /Objects
parentafd9b2b54d7f75d80ba8d8505e27d0b3746a96b9 (diff)
downloadcpython-e7881559f23800d45c04fe7bc8e6a7031fb5e665.zip
cpython-e7881559f23800d45c04fe7bc8e6a7031fb5e665.tar.gz
cpython-e7881559f23800d45c04fe7bc8e6a7031fb5e665.tar.bz2
Fix SF #1676971, Complex OverflowError has a typo
Diffstat (limited to 'Objects')
-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);