mirror of
https://github.com/GrammaticalFramework/gf-core.git
synced 2026-04-09 04:59:31 -06:00
register pgf_EmbeddedGrammarType only for python > 3.6
This commit is contained in:
@@ -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