diff options
Diffstat (limited to 'glib/glibmodule.c')
-rw-r--r-- | glib/glibmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/glib/glibmodule.c b/glib/glibmodule.c index 446be87..4d5aa42 100644 --- a/glib/glibmodule.c +++ b/glib/glibmodule.c @@ -516,7 +516,7 @@ pyglib_set_prgname(PyObject *self, PyObject *arg) { if (!PyString_Check(arg)) { PyErr_Format(PyExc_TypeError, - "first argument must be a string, not %r", + "first argument must be a string, not '%s'", PyString_AS_STRING(PyObject_Repr(arg))); return NULL; } |