From 1723d8637ccc471e5dd5c2b39631d29fdd17a116 Mon Sep 17 00:00:00 2001 From: "kr.angelov" Date: Tue, 29 Jan 2013 09:06:23 +0000 Subject: [PATCH] fixed typos in the python binding: in a few places pgf_ExprType was used instead of pgf_ExprIterType --- src/runtime/python/pgf/binding.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/runtime/python/pgf/binding.c b/src/runtime/python/pgf/binding.c index dbbf7eb3a..391e9b936 100644 --- a/src/runtime/python/pgf/binding.c +++ b/src/runtime/python/pgf/binding.c @@ -317,7 +317,7 @@ Concr_parse(ConcrObject* self, PyObject *args, PyObject *keywds) return NULL; ExprIterObject* pyres = (ExprIterObject*) - pgf_ExprType.tp_alloc(&pgf_ExprIterType, 0); + pgf_ExprIterType.tp_alloc(&pgf_ExprIterType, 0); if (pyres == NULL) { return NULL; } @@ -387,7 +387,7 @@ Concr_parse_tokens(ConcrObject* self, PyObject *args, PyObject *keywds) len = PySequence_Size(obj); ExprIterObject* pyres = (ExprIterObject*) - pgf_ExprType.tp_alloc(&pgf_ExprIterType, 0); + pgf_ExprIterType.tp_alloc(&pgf_ExprIterType, 0); if (pyres == NULL) { return NULL; } @@ -761,7 +761,7 @@ PGF_generate(PGFObject* self, PyObject *args, PyObject *keywds) return NULL; ExprIterObject* pyres = (ExprIterObject*) - pgf_ExprType.tp_alloc(&pgf_ExprIterType, 0); + pgf_ExprIterType.tp_alloc(&pgf_ExprIterType, 0); if (pyres == NULL) { return NULL; }