From 97f4a33e125dc14c72070bbf38f723aaa26b9df7 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 5 Sep 2001 23:49:24 +0000 Subject: Better error msg for 3-arg pow with a float argument. --- Objects/floatobject.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v0.12