mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-26 00:43:17 -06:00
cleanup
This commit is contained in:
1 parent
4a71464ca7
commit
acb70ccc1b
50 files changed
+537
-1964
No files matched your search
@@ -2285,7 +2285,10 @@ Concr_getName(ConcrObject *self, void *closure)
|
||||
static PyObject*
|
||||
Concr_getLanguageCode(ConcrObject *self, void *closure)
|
||||
{
|
||||
return PyString_FromString(pgf_language_code(self->concr));
|
||||
GuString code = pgf_language_code(self->concr);
|
||||
if (code == NULL)
|
||||
Py_RETURN_NONE;
|
||||
return PyString_FromString(code);
|
||||
}
|
||||
|
||||
static PyObject*
|
||||
|
||||
Reference in new issue
Block a user