Kaydet (Commit) 97f4a33e authored tarafından Tim Peters's avatar Tim Peters

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

üst 773c83be
......@@ -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