mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-10-25 16:43:17 -06:00
register pgf_EmbeddedGrammarType only for python > 3.6
This commit is contained in:
1 parent
b652163b0a
commit
4abad5e2fc
1 file changed
+2
@@ -1545,7 +1545,9 @@ MOD_INIT(pgf)
|
||||
TYPE_READY(pgf_ExprTypedType);
|
||||
TYPE_READY(pgf_ExprImplArgType);
|
||||
TYPE_READY(pgf_TypeType);
|
||||
#if PY_VERSION_HEX >= 0x03070000
|
||||
TYPE_READY(pgf_EmbeddedGrammarType);
|
||||
#endif
|
||||
TYPE_READY(pgf_BracketType);
|
||||
TYPE_READY(pgf_BINDType);
|
||||
|
||||
|
||||
Reference in new issue
Block a user