summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2006-02-28 00:32:31 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2006-02-28 00:32:31 (GMT)
commitace990cf5afa205eba9a637bdf70c4d64ddb73ce (patch)
tree7edeeffc367bbf7f66f7cf0f5d0ca0fc24ab4fb2 /Python/Python-ast.c
parent7ad94f011ef03945c2d9475679f503f5677c4f6d (diff)
downloadcpython-ace990cf5afa205eba9a637bdf70c4d64ddb73ce.zip
cpython-ace990cf5afa205eba9a637bdf70c4d64ddb73ce.tar.gz
cpython-ace990cf5afa205eba9a637bdf70c4d64ddb73ce.tar.bz2
Regenerate.
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index 1403143..3218b60 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;