Commit 01157973 authored by Tim Peters's avatar Tim Peters

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

parent 674e27f5
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment