commit | 97f4a33e125dc14c72070bbf38f723aaa26b9df7 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Wed Sep 05 23:49:24 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Wed Sep 05 23:49:24 2001 +0000 |
tree | 531670019090c662747b43908c60c5044cda9276 | |
parent | 773c83be048ae66b7ed5329095d43e3321ac1780 [diff] |
Better error msg for 3-arg pow with a float argument.
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 @@ 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; }