Mercurial > cpython-lru_cache-weakref
diff Python/Python-ast.c @ 36707:cd847e726837 legacy-trunk
Regenerate.
| author | Martin v. Löwis <martin@v.loewis.de> |
|---|---|
| date | Tue, 28 Feb 2006 00:32:31 +0000 |
| parents | b6d2f6fd3e11 |
| children | 5c36c222e7ca |
line wrap: on
line diff
--- a/Python/Python-ast.c Tue Feb 28 00:32:16 2006 +0000 +++ b/Python/Python-ast.c Tue Feb 28 00:32:31 2006 +0000 @@ -2948,6 +2948,8 @@ if (PyDict_SetItemString(d, "AST", (PyObject*)AST_type) < 0) return; if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0) return; + if (PyModule_AddStringConstant(m, "__version__", "42635") < 0) + return; if(PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return; if(PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0) return;
