summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-07-16 02:10:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-07-16 02:10:13 (GMT)
commit0bd152cd67fef5c238ed15ba2ce09f6a74e8d334 (patch)
treec1db691553896d0c95fbd39055b330e6a79a6861 /Python/Python-ast.c
parente720725c12e37a1081e2f493b67254096f6d5aa3 (diff)
downloadcpython-0bd152cd67fef5c238ed15ba2ce09f6a74e8d334.zip
cpython-0bd152cd67fef5c238ed15ba2ce09f6a74e8d334.tar.gz
cpython-0bd152cd67fef5c238ed15ba2ce09f6a74e8d334.tar.bz2
remove ast.__version__ (closes #12273)
Diffstat (limited to 'Python/Python-ast.c')
-rw-r--r--Python/Python-ast.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/Python/Python-ast.c b/Python/Python-ast.c
index b597626..96c6bf8 100644
--- a/Python/Python-ast.c
+++ b/Python/Python-ast.c
@@ -1,14 +1,5 @@
/* File automatically generated by Parser/asdl_c.py. */
-
-/*
- __version__ e0e663132363.
-
- This module must be committed separately after each AST grammar change;
- The __version__ number is set to the revision number of the commit
- containing the grammar change.
-*/
-
#include "Python.h"
#include "Python-ast.h"
@@ -6750,8 +6741,6 @@ PyInit__ast(void)
NULL;
if (PyModule_AddIntConstant(m, "PyCF_ONLY_AST", PyCF_ONLY_AST) < 0)
return NULL;
- if (PyModule_AddStringConstant(m, "__version__", "e0e663132363") < 0)
- return NULL;
if (PyDict_SetItemString(d, "mod", (PyObject*)mod_type) < 0) return
NULL;
if (PyDict_SetItemString(d, "Module", (PyObject*)Module_type) < 0)