mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
small fix in tabularLinearize
This commit is contained in:
@@ -1317,6 +1317,8 @@ Concr_tabularLinearize(ConcrObject* self, PyObject *args)
|
||||
pystr = PyString_FromString(str);
|
||||
} else {
|
||||
gu_exn_clear(err);
|
||||
pystr = Py_None;
|
||||
Py_INCREF(pystr);
|
||||
}
|
||||
|
||||
if (PyDict_SetItemString(table, labels[lin_idx], pystr) < 0)
|
||||
|
||||
Reference in New Issue
Block a user