From ff0a57537a0472e970277b18ee8c2b02844c12c0 Mon Sep 17 00:00:00 2001 From: Johan Dahlin Date: Sun, 2 Mar 2003 16:02:39 +0000 Subject: Fix function name in exception. * gobjectmodule.c (pyg_io_add_watch): Fix function name in exception. --- gobject/gobjectmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gobject/gobjectmodule.c b/gobject/gobjectmodule.c index 445cf5f..bd3b727 100644 --- a/gobject/gobjectmodule.c +++ b/gobject/gobjectmodule.c @@ -1603,7 +1603,7 @@ pyg_io_add_watch(PyObject *self, PyObject *args, PyObject *kwargs) len = PyTuple_Size(args); if (len < 3) { PyErr_SetString(PyExc_TypeError, - "timeout_add requires at least 3 args"); + "io_add_watch requires at least 3 args"); return NULL; } first = PySequence_GetSlice(args, 0, 3); -- cgit