We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7ad94f0 commit ace990cCopy full SHA for ace990c
1 file changed
Python/Python-ast.c
@@ -2948,6 +2948,8 @@ init_ast(void)
2948
if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return;
2949
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
2950
return;
2951
+ if (PyModule_AddStringConstant(m, "__version__", "42635") < 0)
2952
+ return;
2953
if(PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return;
2954
if(PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)
2955
0 commit comments