diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-28 00:32:31 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-28 00:32:31 +0000 |
commit | f7f4cb4da9a9f1d75f36464d82ffeb738f2d2a46 (patch) | |
tree | 2af57ffc9ceac04a91ddfb0b335872aeab56cf5a /Python/Python-ast.c | |
parent | 46f7d848299f5e8222b42d4438f6243a08b986a3 (diff) | |
download | cpython-f7f4cb4da9a9f1d75f36464d82ffeb738f2d2a46.tar.gz |
Regenerate.
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r-- | Python/Python-ast.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c index 1403143d06..3218b60f16 100644 --- a/Python/Python-ast.c +++ b/Python/Python-ast.c @@ -2948,6 +2948,8 @@ init_ast(void) 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; |