summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-09-05 23:49:24 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-09-05 23:49:24 (GMT)
commit97f4a33e125dc14c72070bbf38f723aaa26b9df7 (patch)
tree531670019090c662747b43908c60c5044cda9276 /Objects
parent773c83be048ae66b7ed5329095d43e3321ac1780 (diff)
downloadcpython-97f4a33e125dc14c72070bbf38f723aaa26b9df7.zip
cpython-97f4a33e125dc14c72070bbf38f723aaa26b9df7.tar.gz
cpython-97f4a33e125dc14c72070bbf38f723aaa26b9df7.tar.bz2
Better error msg for 3-arg pow with a float argument.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/floatobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/floatobject.c b/Objects/floatobject.c
index adeaa9e..beb35e9 100644
--- a/Objects/floatobject.c
+++ b/Objects/floatobject.c
@@ -481,7 +481,7 @@ float_pow(PyObject *v, PyObject *w, PyObject *z)
if ((PyObject *)z != Py_None) {
PyErr_SetString(PyExc_TypeError, "pow() 3rd argument not "
- "allowed unless all other arguments are integers");
+ "allowed unless all arguments are integers");
return NULL;
}