diff --git a/src/runtime/python/expr.c b/src/runtime/python/expr.c index c0f49d925..018e0b78f 100644 --- a/src/runtime/python/expr.c +++ b/src/runtime/python/expr.c @@ -421,7 +421,7 @@ Expr_new(PyTypeObject *subtype, PyObject *args, PyObject *kwds) } else if (tuple_size == 2) { PyObject* arg = PyTuple_GetItem(args, 1); if (PyList_Check(arg) && PyList_Size(arg) == 0) - return pgf_ExprAppType.tp_alloc(&pgf_ExprFunType, 0); + return pgf_ExprFunType.tp_alloc(&pgf_ExprFunType, 0); else return pgf_ExprAppType.tp_alloc(&pgf_ExprAppType, 0); } else {