Better error msg for 3-arg pow with a float argument.

This commit is contained in:
Tim Peters 2001-09-05 23:49:24 +00:00
parent 773c83be04
commit 97f4a33e12
1 changed files with 1 additions and 1 deletions

View File

@ -481,7 +481,7 @@ float_pow(PyObject *v, PyObject *w, PyObject *z)
if ((PyObject *)z != Py_None) { if ((PyObject *)z != Py_None) {
PyErr_SetString(PyExc_TypeError, "pow() 3rd argument not " PyErr_SetString(PyExc_TypeError, "pow() 3rd argument not "
"allowed unless all other arguments are integers"); "allowed unless all arguments are integers");
return NULL; return NULL;
} }