mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
fixed typos in the python binding: in a few places pgf_ExprType was used instead of pgf_ExprIterType
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user