From 7f922ae9d982cfd3b13f842c213667cdf4ee8ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Mart=C3=ADn=20Nieto?= Date: Thu, 10 Jul 2014 11:29:03 +0200 Subject: [PATCH] Make python3 happy --- src/diff.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/diff.c b/src/diff.c index 2554cfc..83fcb51 100644 --- a/src/diff.c +++ b/src/diff.c @@ -509,7 +509,7 @@ PyMappingMethods Diff_as_mapping = { static PyMethodDef Diff_methods[] = { METHOD(Diff, merge, METH_VARARGS), METHOD(Diff, find_similar, METH_VARARGS), - METHOD(Diff, from_c, METH_STATIC), + METHOD(Diff, from_c, METH_STATIC | METH_VARARGS), {NULL} };