From 97ca7b112ce4ce6e976e1ffe25007aaedd500588 Mon Sep 17 00:00:00 2001 From: krangelov Date: Mon, 27 Sep 2021 06:15:00 +0200 Subject: [PATCH] remove Expr_getsetters --- src/runtime/python/expr.c | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/runtime/python/expr.c b/src/runtime/python/expr.c index 7fc0862f9..0aaceece2 100644 --- a/src/runtime/python/expr.c +++ b/src/runtime/python/expr.c @@ -351,10 +351,6 @@ static PyMethodDef Expr_methods[] = { {NULL} /* Sentinel */ }; -static PyGetSetDef Expr_getseters[] = { - {NULL} /* Sentinel */ -}; - PyTypeObject pgf_ExprType = { PyVarObject_HEAD_INIT(NULL, 0) //0, /*ob_size*/ @@ -386,7 +382,7 @@ PyTypeObject pgf_ExprType = { 0, /*tp_iternext */ Expr_methods, /*tp_methods */ 0, /*tp_members */ - Expr_getseters, /*tp_getset */ + 0, /*tp_getset */ 0, /*tp_base */ 0, /*tp_dict */ 0, /*tp_descr_get */