diff options
author | Tim Peters <tim.peters@gmail.com> | 2001-09-05 23:49:24 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2001-09-05 23:49:24 (GMT) |
commit | 97f4a33e125dc14c72070bbf38f723aaa26b9df7 (patch) | |
tree | 531670019090c662747b43908c60c5044cda9276 | |
parent | 773c83be048ae66b7ed5329095d43e3321ac1780 (diff) | |
download | cpython-97f4a33e125dc14c72070bbf38f723aaa26b9df7.zip cpython-97f4a33e125dc14c72070bbf38f723aaa26b9df7.tar.gz cpython-97f4a33e125dc14c72070bbf38f723aaa26b9df7.tar.bz2 |
Better error msg for 3-arg pow with a float argument.
-rw-r--r-- | Objects/floatobject.c | 2 |
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; } |