projects
/
python
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ad94f0
)
Regenerate.
author
Martin v. Löwis
<martin@v.loewis.de>
Tue, 28 Feb 2006 00:32:31 +0000
(
00:32
+0000)
committer
Martin v. Löwis
<martin@v.loewis.de>
Tue, 28 Feb 2006 00:32:31 +0000
(
00:32
+0000)
Python/Python-ast.c
patch
|
blob
|
history
diff --git
a/Python/Python-ast.c
b/Python/Python-ast.c
index 1403143d06b9cf1f3257ad762c241e2c01f87ed3..3218b60f161361250d9126b5a30fffc84bd9e4ae 100644
(file)
--- 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;