]> granicus.if.org Git - python/commitdiff
Better error msg for 3-arg pow with a float argument.
authorTim Peters <tim.peters@gmail.com>
Wed, 5 Sep 2001 23:49:24 +0000 (23:49 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 5 Sep 2001 23:49:24 +0000 (23:49 +0000)
Objects/floatobject.c

index adeaa9e27057e038dd66dafd88e2278913e6bf24..beb35e9ca6197891c385dd5a19dd841db88c806f 100644 (file)
@@ -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;
        }