1
0
forked from GitHub/gf-core

fix warning in the Python binding

This commit is contained in:
krasimir
2015-04-27 18:33:18 +00:00
parent 5f25804b73
commit c1129e15fa

View File

@@ -93,7 +93,7 @@ Expr_init(ExprObject *self, PyObject *args, PyObject *kwds)
return -1;
return Expr_initApp(self, fname, list);
} else {
PyErr_Format(PyExc_TypeError, "function takes 0, 1 or 2 arguments (%d given)", tuple_size);
PyErr_Format(PyExc_TypeError, "function takes 0, 1 or 2 arguments (%d given)", (int) tuple_size);
return -1;
}