1
0
forked from GitHub/gf-core

try fix the compilation for Python 3.6

This commit is contained in:
Krasimir Angelov
2023-01-25 09:01:40 +01:00
parent 2a902531a5
commit b838b02a37

View File

@@ -1040,6 +1040,8 @@ static PyTypeObject pgf_EmbeddedGrammarType = {
0, /*tp_new */
};
PyAPI_FUNC(int) _PyImport_SetModule(PyObject *name, PyObject *module);
static PyObject*
PGF_embed(PGFObject* self, PyObject *modname)
{